feat(ui): redirect to detail page after a new role is created
parent
dc19d5bc21
commit
2410c9fc24
|
@ -131,7 +131,7 @@ const RolesPage = ({
|
|||
}
|
||||
await createRole(source.links.roles, role)
|
||||
router.push(
|
||||
`/sources/${source.id}/admin-influxdb/users/${encodeURIComponent(
|
||||
`/sources/${source.id}/admin-influxdb/roles/${encodeURIComponent(
|
||||
role.name
|
||||
)}`
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue