NPE
This commit is contained in:
parent
a4239d385b
commit
ebf82c09e9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user