mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 18:15:53 +00:00
feat: added role modify popup
This commit is contained in:
@@ -420,8 +420,11 @@ export const useUpdateUserWorkspaceRole = () => {
|
||||
);
|
||||
return membership;
|
||||
},
|
||||
onSuccess: (_, { workspaceId }) => {
|
||||
onSuccess: (_, { workspaceId, membershipId }) => {
|
||||
queryClient.invalidateQueries(workspaceKeys.getWorkspaceUsers(workspaceId));
|
||||
queryClient.invalidateQueries(
|
||||
workspaceKeys.getWorkspaceUserDetails(workspaceId, membershipId)
|
||||
);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user