mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
feat: introduce manage tokens entry point
This adds a button to trigger the eventual manage tokens tray
This commit is contained in:
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>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user