diff --git a/src/frontend/views/entity/Crud/index.tsx b/src/frontend/views/entity/Crud/index.tsx index 34d0843fc..e6ee45d9a 100644 --- a/src/frontend/views/entity/Crud/index.tsx +++ b/src/frontend/views/entity/Crud/index.tsx @@ -124,7 +124,7 @@ function useEntityCrudView() { } else if (field === "delete" && newState.delete) { newState.details = true; } - + setEntityCrudSettingsState(newState); upsertCrudSettingsMutation.mutateAsync( newState as unknown as Record diff --git a/src/frontend/views/roles/Permissions/MutatePermission.tsx b/src/frontend/views/roles/Permissions/MutatePermission.tsx index 475ab9c6d..cd6beeebc 100644 --- a/src/frontend/views/roles/Permissions/MutatePermission.tsx +++ b/src/frontend/views/roles/Permissions/MutatePermission.tsx @@ -5,13 +5,13 @@ import { FormButton } from "frontend/design-system/components/Button/FormButton" import { Spacer } from "frontend/design-system/primitives/Spacer"; import { RenderList } from "frontend/design-system/components/RenderList"; import { SectionListItem } from "frontend/design-system/components/Section/SectionList"; +import { USER_PERMISSIONS } from "shared/constants/user"; +import { PORTAL_PERMISSION_HEIRACHIES } from "shared/logic/permissions/portal"; import { useCreateRolePermissionMutation, useRolePermissionDeletionMutation, useRolePermissions, } from "../permissions.store"; -import { USER_PERMISSIONS } from "shared/constants/user"; -import { PORTAL_PERMISSION_HEIRACHIES } from "shared/logic/permissions/portal"; interface IProps { permissionList: ILabelValue[];