Skip to content

Commit

Permalink
Merge branch 'feature/AB#19926' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefwint committed Sep 23, 2024
2 parents 861015e + b72890d commit 4995d8e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion src/config/objects/maatregel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 6 additions & 2 deletions src/pages/public/DynamicObject/DynamicObject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,16 @@ const DynamicObject = ({ model, isRevision }: DynamicObjectProps) => {
<ObjectContent
data={data || {}}
customTitle={
singular === 'beleidskeuze' ||
singular === 'maatregel'
singular === 'beleidskeuze'
? {
Description:
'Wat wil de provincie bereiken?',
}
: singular === 'maatregel'
? {
Description:
'Wat gaat de provincie doen?',
}
: undefined
}
/>
Expand Down

0 comments on commit 4995d8e

Please sign in to comment.