chore: translation for unauthorized workflow error (#8573)

* fix: translation for unauthorized workflow error

* change to dynamic string

---------

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: alannnc <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-05-30 14:24:17 +00:00
1 parent fba2a2e2ca
commit a062b5a355
3 files changed
+10 -6

No files matched your search

+3 -3
View File
@@ -310,11 +310,11 @@ function UserDropdown({ small }: { small?: boolean }) {
</span>
{!small && (
<span className="flex flex-grow items-center truncate">
<span className="flex-grow truncate text-sm leading-none">
<span className="text-emphasis mb-1 block truncate font-medium leading-none">
<span className="flex-grow truncate text-sm">
<span className="text-emphasis mb-1 block truncate pb-1 font-medium leading-none">
{user.name || "Nameless User"}
</span>
<span className="text-default truncate font-normal leading-none">
<span className="text-default truncate pb-1 font-normal leading-none">
{user.username
? process.env.NEXT_PUBLIC_WEBSITE_URL === "https://cal.com"
? `cal.com/${user.username}`