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:
Sergey Kozyrenko
2026-05-19 11:35:48 +07:00
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}