0
0
Fork 0

Minor change in exclusion form

This commit is contained in:
William Buezas 2024-05-26 18:54:59 -03:00
parent 097197b8dc
commit bfba4875cc
1 changed files with 2 additions and 1 deletions

View File

@ -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;
});