mirror of
https://github.com/outline/outline.git
synced 2026-11-30 00:50:41 +03:00
Update API key list UI
This commit is contained in:
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 && <> · </>}
|
||||
</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",
|
||||
|
||||
Reference in new issue
Block a user