This commit is contained in:
portree_kid 2020-03-29 14:55:34 +02:00
parent a4239d385b
commit ebf82c09e9

View File

@ -174,7 +174,7 @@
} }
}, },
findRouteToPushback (index) { findRouteToPushback (index) {
if (this.featureLookup===undefined) { if (this.featureLookup===undefined || this.featureLookup[index]===undefined) {
return return
} }
var parking = this.featureLookup[index].filter(n => n instanceof L.ParkingSpot) var parking = this.featureLookup[index].filter(n => n instanceof L.ParkingSpot)