From bb8343ffc17627fe57bcc3a2fc8144d659697ef5 Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Thu, 29 Aug 2024 15:22:42 +0200 Subject: [PATCH] feat(Compensations): document list for compensations --- studio/schemas/deskStructure.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/studio/schemas/deskStructure.ts b/studio/schemas/deskStructure.ts index bf47026eb..7eae57d4d 100644 --- a/studio/schemas/deskStructure.ts +++ b/studio/schemas/deskStructure.ts @@ -70,10 +70,7 @@ export default (S: StructureBuilder) => .title("Compensations") .icon(HeartIcon) .child( - S.document() - .schemaType(compensationsId) - .documentId(compensationsId) - .title("Compensations"), + S.documentTypeList(compensationsId).title("Compensations"), ), ]), ),