mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-08-23 03:26:37 +00:00
feat(frontend): add Copy Token ID action to api-tokens row dropdown
Mirrors the entry already present in the right-click context menu so both menus expose the same set of actions (Edit / Copy Token ID / Delete) — the dropdown was previously missing the copy shortcut. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
d08295610a
commit
a55f7bd6eb
@@ -781,6 +781,10 @@ function SettingsAPITokens() {
|
||||
<Pencil />
|
||||
Edit
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => handleCopyTokenId(token.tokenId)}>
|
||||
<Copy />
|
||||
Copy Token ID
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem
|
||||
disabled={isDeleteLoading && deletingToken?.tokenId === token.tokenId}
|
||||
|
||||
Reference in New Issue
Block a user