We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7042119 commit 161ee26Copy full SHA for 161ee26
site/src/pages/ManagementSettingsPage/CustomRolesPage/CreateEditRolePage.tsx
@@ -58,11 +58,10 @@ export const CreateEditRolePage: FC = () => {
58
try {
59
if (role) {
60
await updateOrganizationRoleMutation.mutateAsync(data);
61
- navigate(`/organizations/${organizationName}/roles`);
62
} else {
63
await createOrganizationRoleMutation.mutateAsync(data);
64
65
}
+ navigate(`/organizations/${organizationName}/roles`);
66
} catch (error) {
67
displayError(
68
getErrorMessage(error, "Failed to update custom role"),
0 commit comments