From b72890d6e9762723fb85a9d37a3e6b5777d92aef Mon Sep 17 00:00:00 2001 From: Stef Winterswijk Date: Mon, 23 Sep 2024 09:24:29 +0200 Subject: [PATCH] AB#19926 --- .../DynamicObject/ObjectRevision/ObjectRevision.tsx | 8 ++++++-- src/config/objects/maatregel.tsx | 2 +- src/pages/public/DynamicObject/DynamicObject.tsx | 8 ++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx b/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx index 7083cbb9..79ec44f5 100644 --- a/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx +++ b/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx @@ -78,12 +78,16 @@ const ObjectRevision = ({ htmlFrom={contentFrom || ''} htmlTo={contentTo || ''} customTitle={ - singular === 'beleidskeuze' || - singular === 'maatregel' + singular === 'beleidskeuze' ? { Description: 'Wat wil de provincie bereiken?', } + : singular === 'maatregel' + ? { + Description: + 'Wat gaat de provincie doen?', + } : undefined } {...field} diff --git a/src/config/objects/maatregel.tsx b/src/config/objects/maatregel.tsx index c5604310..ba0531d3 100644 --- a/src/config/objects/maatregel.tsx +++ b/src/config/objects/maatregel.tsx @@ -116,7 +116,7 @@ const maatregel: DynamicObject< fields: [ { name: 'Description', - label: 'Wat wil de provincie bereiken?', + label: 'Wat gaat de provincie doen?', description: 'Formuleer bondig wat de provincie met deze maatregel wil bewerkstelligen.', type: 'wysiwyg', diff --git a/src/pages/public/DynamicObject/DynamicObject.tsx b/src/pages/public/DynamicObject/DynamicObject.tsx index 4daa12a4..faf95504 100644 --- a/src/pages/public/DynamicObject/DynamicObject.tsx +++ b/src/pages/public/DynamicObject/DynamicObject.tsx @@ -207,12 +207,16 @@ const DynamicObject = ({ model, isRevision }: DynamicObjectProps) => {