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:
3 files changed
+10
-6
No files matched your search
@@ -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}`
|
||||
|
||||
Reference in new issue
Block a user