@@ -9,7 +9,7 @@ import { OfferType, OfferTypes } from '@/constants/OfferType';
99import { useChangeAudienceMutation } from '@/hooks/api/events' ;
1010import { FeatureFlags , useFeatureFlag } from '@/hooks/useFeatureFlag' ;
1111import { Alert , AlertVariants } from '@/ui/Alert' ;
12- import { parseSpacing } from '@/ui/Box' ;
12+ import { Box , parseSpacing } from '@/ui/Box' ;
1313import { CustomIcon , CustomIconVariants } from '@/ui/CustomIcon' ;
1414import { FormElement } from '@/ui/FormElement' ;
1515import { getInlineProps , Inline , InlineProps } from '@/ui/Inline' ;
@@ -133,10 +133,10 @@ const ScopeStep = ({
133133 < FormElement
134134 id = { field . name }
135135 label = {
136- < >
136+ < Box opacity = { offerId && isCultuurkuurEvent ? 0.7 : 1.0 } >
137137 { t ( 'steps.offerTypeStep.cultuurkuur_event' ) }
138138 < CultuurKuurIcon marginLeft = { 2 } />
139- </ >
139+ </ Box >
140140 }
141141 labelVariant = { LabelVariants . NORMAL }
142142 labelPosition = { LabelPositions . RIGHT }
@@ -145,6 +145,7 @@ const ScopeStep = ({
145145 type = { RadioButtonTypes . SWITCH }
146146 checked = { isCultuurkuurEvent }
147147 color = { colors . udbMainPositiveGreen }
148+ disabled = { offerId && isCultuurkuurEvent }
148149 onChange = { ( e ) => {
149150 handleOnChangeAudience (
150151 e . target . checked
0 commit comments