diff --git a/apps/client/pages/admin/roles/[id].tsx b/apps/client/pages/admin/roles/[id].tsx index faec359bb..de8685570 100644 --- a/apps/client/pages/admin/roles/[id].tsx +++ b/apps/client/pages/admin/roles/[id].tsx @@ -105,6 +105,7 @@ export default function UpdateRole() { } else { setSelectedPermissions( selectedPermissions.filter( + //@ts-ignore (p: Permission) => !categoryPermissions.includes(p) ) );