Skip to content

The open alternative to Salesforce, designed for AI.

Fetch soft-deleted records in Record Page Layouts (#17698)

Baptiste Devessier29093fdbf127
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 6c3f41faf42..0c2a403cecf 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,
},
);