Reload data when changing permissions tab (#4497)

This commit is contained in:
Erik Jan de Wit 2023-03-02 13:32:43 +01:00 committed by GitHub
parent 0f11f3f29f
commit 6daac57038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ export const PermissionsTab = ({ id, type }: PermissionsTabProps) => {
setRealmId(clients[0]?.id!);
setPermission(permission);
},
[]
[id]
);
const [toggleDisableDialog, DisableConfirm] = useConfirmDialog({