From fee4878a779c04d8e1b2f37f91f093b56717f01b Mon Sep 17 00:00:00 2001 From: Abderrahmane Smimite Date: Fri, 20 Sep 2024 19:39:11 +0200 Subject: [PATCH] remove overfetching --- frontend/src/lib/utils/crud.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/lib/utils/crud.ts b/frontend/src/lib/utils/crud.ts index 263aac2df..91c10f31e 100644 --- a/frontend/src/lib/utils/crud.ts +++ b/frontend/src/lib/utils/crud.ts @@ -389,8 +389,7 @@ export const URL_MODEL_MAP: ModelMap = { fileFields: ['attachment'], foreignKeyFields: [ { field: 'folder', urlModel: 'folders', urlParams: 'content_type=DO&content_type=GL' }, - { field: 'applied_controls', urlModel: 'applied-controls' }, - { field: 'requirement_assessments', urlModel: 'requirement-assessments' } + { field: 'applied_controls', urlModel: 'applied-controls' } ] }, 'compliance-assessments': {