From c11fc3b5f8dfad4c1ec5bfa1076236dbcab6c65c Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard28 Date: Thu, 8 Jun 2023 12:19:11 +0200 Subject: [PATCH] feat(data-explained-redesign): Adjusts rich text alignment, removes description component. --- packages/app/src/pages/verantwoording/[slug].tsx | 2 +- .../schemas/documents/pages/cijfer-verantwoording-page.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/app/src/pages/verantwoording/[slug].tsx b/packages/app/src/pages/verantwoording/[slug].tsx index f0b07bd8da..9b5825a93a 100644 --- a/packages/app/src/pages/verantwoording/[slug].tsx +++ b/packages/app/src/pages/verantwoording/[slug].tsx @@ -68,7 +68,7 @@ const DataExplainedDetailPage = (props: StaticProps) => { icon={item.icon ? : undefined} /> - + diff --git a/packages/cms/src/schemas/documents/pages/cijfer-verantwoording-page.ts b/packages/cms/src/schemas/documents/pages/cijfer-verantwoording-page.ts index ff97b2b2de..88e98cc72e 100644 --- a/packages/cms/src/schemas/documents/pages/cijfer-verantwoording-page.ts +++ b/packages/cms/src/schemas/documents/pages/cijfer-verantwoording-page.ts @@ -8,17 +8,11 @@ export const cijferVerantwoording = { type: 'localeString', title: 'Titel', }, - { - name: 'description', - type: 'localeBlock', - title: 'Beschrijving', - }, { name: 'collapsibleList', type: 'array', title: 'Verantwoordingen', - description: - 'Je kan verantwoordingen toevoegen, de volgorde veranderen, de teksten bijwerken of verwijderen', + description: 'Je kan verantwoordingen toevoegen, de volgorde veranderen, de teksten bijwerken of verwijderen', of: [{ type: 'reference', to: { type: 'cijferVerantwoordingItem' } }], }, ],