diff --git a/src/pages/Zone/Card/ZoneEventExclusionForm.vue b/src/pages/Zone/Card/ZoneEventExclusionForm.vue index 1573614a6..66bbeaaad 100644 --- a/src/pages/Zone/Card/ZoneEventExclusionForm.vue +++ b/src/pages/Zone/Card/ZoneEventExclusionForm.vue @@ -123,7 +123,8 @@ onMounted(() => { console.log('props.event', props.event); if (props.event) { dated.value = props.event?.dated; - excludeType.value = props.geoIds.length ? 'specificLocations' : 'all'; + excludeType.value = + props.eventType === 'geoExclusion' ? 'specificLocations' : 'all'; tickedNodes.value = props.geoIds || []; } else if (props.date) dated.value = props.date; });