3
0

Fix geometry field opening map

This commit is contained in:
Jože Fortun
2024-06-07 11:34:53 +02:00
parent 1ddbeab719
commit fdfe29d8fe

View File

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