Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
feat(COR-1710): making adding document actions to pageFAQ and pageDat…
Browse files Browse the repository at this point in the history
…aExplained (#4851)
  • Loading branch information
VWSCoronaDashboard35 authored Aug 30, 2023
1 parent b682d13 commit 87daac8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/cms/src/studio/data/data-structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 2 additions & 0 deletions packages/cms/src/studio/document-options/document-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 87daac8

Please sign in to comment.