Skip to content

Commit

Permalink
[feat-6294]: Add rolcontainer questions to summary (#3069)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens authored Jan 7, 2025
1 parent 6b77651 commit 728fc60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/signals/incident/definitions/wizard-step-4-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { QuestionFieldType } from 'types/question'

import afvalControls from './wizard-step-2-vulaan/afval'
import afvalContainerControls from './wizard-step-2-vulaan/afval-container'
import afvalRolcontainerControls from './wizard-step-2-vulaan/afval-rolcontainer'
import afvalThorControls from './wizard-step-2-vulaan/afval-thor'
import bomenControls from './wizard-step-2-vulaan/bomen'
import boomIllegaleKap from './wizard-step-2-vulaan/boom-illegale-kap'
Expand Down Expand Up @@ -131,6 +132,12 @@ const getExtraQuestions = (category, subcategory, questions) => {
if (['asbest-accu', 'handhaving-op-afval'].includes(subcategory)) {
return summary(afvalThorControls)
}
if (
['rolcontainer-is-kapot', 'rolcontainer-is-vol'].includes(subcategory)
) {
return summary(afvalRolcontainerControls)
}

return summary(afvalControls)
}

Expand Down

0 comments on commit 728fc60

Please sign in to comment.