diff --git a/frontend/web/components/EditPermissions.tsx b/frontend/web/components/EditPermissions.tsx index ec97e5011a7b..6cb330b71740 100644 --- a/frontend/web/components/EditPermissions.tsx +++ b/frontend/web/components/EditPermissions.tsx @@ -263,6 +263,7 @@ const _EditPermissionsModal: FC = forwardRef( `${level.charAt(0).toUpperCase() + level.slice(1)} permissions Saved`, ) permissionChanged?.() + setInterceptClose(null) onSave?.() setSaving(false) if (editPermissionsFromSettings) { @@ -420,6 +421,12 @@ const _EditPermissionsModal: FC = forwardRef( entityPermissions, ) .then(() => { + setInterceptClose(null) + toast( + `${ + level.charAt(0).toUpperCase() + level.slice(1) + } Permissions Saved`, + ) onSave && onSave() close() })