From 29093fdbf127005a94ae611c8b267c19e6c4c6e1 Mon Sep 17 00:00:00 2001 From: Baptiste Devessier Date: Wed, 4 Feb 2026 10:07:00 +0100 Subject: [PATCH] Fetch soft-deleted records in Record Page Layouts (#17698) ## Before https://github.com/user-attachments/assets/35a69015-8d3a-498f-8cb3-07bbf3f4d307 ## After https://github.com/user-attachments/assets/1232b41f-50a1-4f7d-afbe-f1fe57bd7de0 --- .../src/modules/page-layout/hooks/useRecordPageLayoutId.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/twenty-front/src/modules/page-layout/hooks/useRecordPageLayoutId.ts b/packages/twenty-front/src/modules/page-layout/hooks/useRecordPageLayoutId.ts index 6c3f41faf4..0c2a403cec 100644 --- a/packages/twenty-front/src/modules/page-layout/hooks/useRecordPageLayoutId.ts +++ b/packages/twenty-front/src/modules/page-layout/hooks/useRecordPageLayoutId.ts @@ -11,6 +11,7 @@ export const useRecordPageLayoutId = ({ { objectNameSingular: targetObjectNameSingular, objectRecordId: id, + withSoftDeleted: true, }, );