From 87daac8fa498fb774a826cbfe65122325e983c40 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard31 <141616488+VWSCoronaDashboard35@users.noreply.github.com> Date: Wed, 30 Aug 2023 08:58:32 +0200 Subject: [PATCH] feat(COR-1710): making adding document actions to pageFAQ and pageDataExplained (#4851) --- packages/cms/src/studio/data/data-structure.ts | 10 ++++++++-- .../src/studio/document-options/document-options.ts | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/cms/src/studio/data/data-structure.ts b/packages/cms/src/studio/data/data-structure.ts index 6e6e27a7d0..7e394fe459 100644 --- a/packages/cms/src/studio/data/data-structure.ts +++ b/packages/cms/src/studio/data/data-structure.ts @@ -296,8 +296,14 @@ export const dataStructure = { 'admissions_age_90_plus_per_million', 'admissions_overall_per_million', ], - hospital_lcps: ['beds_occupied_covid', 'influx_covid_patients', 'influx_covid_patients_moving_average'], - intensive_care_lcps: ['beds_occupied_covid', 'beds_occupied_covid_percentage', 'influx_covid_patients', 'influx_covid_patients_moving_average'], + hospital_lcps: ['beds_occupied_covid', 'beds_occupied_covid_moving_average', 'influx_covid_patients', 'influx_covid_patients_moving_average'], + intensive_care_lcps: [ + 'beds_occupied_covid', + 'beds_occupied_covid_moving_average', + 'beds_occupied_covid_percentage', + 'influx_covid_patients', + 'influx_covid_patients_moving_average', + ], deceased_cbs: ['registered', 'expected', 'expected_min', 'expected_max'], vaccine_administered: ['pfizer', 'moderna', 'astra_zeneca', 'cure_vac', 'janssen', 'sanofi', 'novavax', 'total'], vaccine_administered_doctors: ['estimated'], diff --git a/packages/cms/src/studio/document-options/document-options.ts b/packages/cms/src/studio/document-options/document-options.ts index 945cbfd161..bc3d4bfaee 100644 --- a/packages/cms/src/studio/document-options/document-options.ts +++ b/packages/cms/src/studio/document-options/document-options.ts @@ -32,9 +32,11 @@ export const actions = (prev: DocumentActionComponent[], context: DocumentAction case 'notFoundPageItem': case 'notFoundPageLinks': case 'pageArticles': + case 'pageFAQs': case 'pageHighlightedItems': case 'pageIdentifier': case 'pageLinks': + case 'pageDataExplained': case 'pageRichText': case 'themeTile': case 'veelgesteldeVragen':