Fix geometry field opening map

This commit is contained in:
Jože Fortun
2024-06-12 16:08:57 +02:00
parent 1ddbeab719
commit fdfe29d8fe
@@ -273,7 +273,7 @@ export default {
methods: {
openMap (index) {
this.map.value = [...this.localValue]
this.map.value = this.field.isMulti ? [...this.localValue] : this.localValue
this.localValueIndex = index
const firstCoordinates = (index >= 0 ? this.localValue[index] : this.localValue) || {}