forked from verdnatura/salix-front
Minor change in exclusion form
This commit is contained in:
parent
097197b8dc
commit
bfba4875cc
|
@ -123,7 +123,8 @@ onMounted(() => {
|
||||||
console.log('props.event', props.event);
|
console.log('props.event', props.event);
|
||||||
if (props.event) {
|
if (props.event) {
|
||||||
dated.value = props.event?.dated;
|
dated.value = props.event?.dated;
|
||||||
excludeType.value = props.geoIds.length ? 'specificLocations' : 'all';
|
excludeType.value =
|
||||||
|
props.eventType === 'geoExclusion' ? 'specificLocations' : 'all';
|
||||||
tickedNodes.value = props.geoIds || [];
|
tickedNodes.value = props.geoIds || [];
|
||||||
} else if (props.date) dated.value = props.date;
|
} else if (props.date) dated.value = props.date;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue