Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit161ee26

Browse files
committed
fix: cleanup
1 parent7042119 commit161ee26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎site/src/pages/ManagementSettingsPage/CustomRolesPage/CreateEditRolePage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ export const CreateEditRolePage: FC = () => {
5858
try{
5959
if(role){
6060
awaitupdateOrganizationRoleMutation.mutateAsync(data);
61-
navigate(`/organizations/${organizationName}/roles`);
6261
}else{
6362
awaitcreateOrganizationRoleMutation.mutateAsync(data);
64-
navigate(`/organizations/${organizationName}/roles`);
6563
}
64+
navigate(`/organizations/${organizationName}/roles`);
6665
}catch(error){
6766
displayError(
6867
getErrorMessage(error,"Failed to update custom role"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp