diff --git a/packages/twenty-front/src/modules/page-layout/hooks/useSetIsPageLayoutInEditMode.ts b/packages/twenty-front/src/modules/page-layout/hooks/useSetIsPageLayoutInEditMode.ts index 061877ed9b..3c6eb022e0 100644 --- a/packages/twenty-front/src/modules/page-layout/hooks/useSetIsPageLayoutInEditMode.ts +++ b/packages/twenty-front/src/modules/page-layout/hooks/useSetIsPageLayoutInEditMode.ts @@ -29,6 +29,9 @@ export const useSetIsPageLayoutInEditMode = (pageLayoutIdFromProps: string) => { [PageLayoutSingleRecordActionKeys.CANCEL_LAYOUT_EDITION]: value, [PageLayoutSingleRecordActionKeys.ADD_TO_FAVORITES_READ_MODE]: !value, [SingleRecordActionKeys.ADD_TO_FAVORITES]: value, + [SingleRecordActionKeys.DELETE]: !value, + [SingleRecordActionKeys.NAVIGATE_TO_PREVIOUS_RECORD]: !value, + [SingleRecordActionKeys.NAVIGATE_TO_NEXT_RECORD]: !value, })); }, [isPageLayoutInEditModeState],