mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 16:55:05 +00:00
feat: open edit page on table row click
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
const actions: CreateAdvancedTableActions<OidcClientWithAllowedUserGroupsCount> = (_) => [
|
||||
{
|
||||
label: m.edit(),
|
||||
primary: true,
|
||||
icon: LucidePencil,
|
||||
onClick: (client) => goto(`/settings/admin/oidc-clients/${client.id}`)
|
||||
},
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
const actions: CreateAdvancedTableActions<UserGroupWithUserCount> = (group) => [
|
||||
{
|
||||
label: m.edit(),
|
||||
primary: true,
|
||||
icon: LucidePencil,
|
||||
variant: 'ghost',
|
||||
onClick: (group) => goto(`/settings/admin/user-groups/${group.id}`)
|
||||
|
||||
@@ -143,6 +143,7 @@
|
||||
},
|
||||
{
|
||||
label: m.edit(),
|
||||
primary: true,
|
||||
icon: LucidePencil,
|
||||
onClick: (u) => goto(`/settings/admin/users/${u.id}`)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user