feat: introduce manage tokens entry point

This adds a button to trigger the eventual manage tokens tray
This commit is contained in:
kemal authored and kemal committed 2025-08-15 10:45:01 +01:00
1 parent a63e91255c
commit df6210e6ec
1 file changed
+21 -10
@@ -54,16 +54,27 @@ const AccessTokenList = () => {
<p>{new Date(x.created_at).toLocaleString()}</p>
</Table.td>
<Table.td>
<Button
type="default"
title="Delete token"
className="px-1"
onClick={() => {
setToken(x)
setIsOpen(true)
}}
icon={<Trash />}
/>
<div className="flex items-center justify-end gap-x-2">
<Button
type="default"
title="Manage access"
onClick={() => {
console.log('Open try here...')
}}
>
Manage access
</Button>
<Button
type="default"
title="Delete token"
className="px-1"
onClick={() => {
setToken(x)
setIsOpen(true)
}}
icon={<Trash />}
/>
</div>
</Table.td>
</Table.tr>
)