1 parent
69cce1a4e2
commit
ca486aa7ed
1 file changed
+3
-1
+3
-1
@@ -154,7 +154,9 @@ export const ApiKeyGeneralSection = ({ apiKey }: ApiKeyGeneralSectionProps) => {
|
|||||||
{t("fields.key")}
|
{t("fields.key")}
|
||||||
</Text>
|
</Text>
|
||||||
{apiKey.type === "secret" ? (
|
{apiKey.type === "secret" ? (
|
||||||
<Badge size="2xsmall">{prettifyRedactedToken(apiKey.redacted)}</Badge>
|
<Badge size="2xsmall" className="inline-block w-fit">
|
||||||
|
{prettifyRedactedToken(apiKey.redacted)}
|
||||||
|
</Badge>
|
||||||
) : (
|
) : (
|
||||||
<Copy asChild content={apiKey.token} className="cursor-pointer">
|
<Copy asChild content={apiKey.token} className="cursor-pointer">
|
||||||
<Badge size="2xsmall" className="text-ui-tag-neutral-text">
|
<Badge size="2xsmall" className="text-ui-tag-neutral-text">
|
||||||
|
|||||||
Reference in new issue
Block a user