Update API key list UI

This commit is contained in:
Tom Moor committed 2025-01-27 22:13:47 -05:00
1 parent 9a03e1c947
commit 39852470cc
2 files changed
+10 -2

No files matched your search

@@ -48,8 +48,15 @@ const ApiKeyListItem = ({ apiKey }: Props) => {
{apiKey.scope && <> &middot; </>}
</Text>
{apiKey.scope && (
<Tooltip content={t("Scopes")}>
<Text type="tertiary">{apiKey.scope}</Text>
<Tooltip
content={apiKey.scope.map((s) => (
<>
{s}
<br />
</>
))}
>
<Text type="tertiary">{t("Restricted scope")}</Text>
</Tooltip>
)}
</>
@@ -829,6 +829,7 @@
"by {{ name }}": "by {{ name }}",
"Last used": "Last used",
"No expiry": "No expiry",
"Restricted scope": "Restricted scope",
"API key copied to clipboard": "API key copied to clipboard",
"Copied": "Copied",
"Revoking": "Revoking",