From bfba4875ccc097e33b29efa6f1d1411cd07d9185 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Sun, 26 May 2024 18:54:59 -0300 Subject: [PATCH] Minor change in exclusion form --- src/pages/Zone/Card/ZoneEventExclusionForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; });