NPE
This commit is contained in:
parent
1d048c0d28
commit
7b7afb357b
@ -192,7 +192,8 @@ exports.extendTaxiSegment = function (taxiwaySegment) {
|
||||
console.log(event)
|
||||
});
|
||||
this.on('editable:vertex:clicked', function (event) {
|
||||
if (Number(store.default.state.Editable.index) >= 0) {
|
||||
if (Number(store.default.state.Editable.index) >= 0 &&
|
||||
this.featureLookup[store.default.state.Editable.index] !== undefined) {
|
||||
this.featureLookup[store.default.state.Editable.index].forEach(element => {
|
||||
if(element.deselect !== undefined) {
|
||||
element.deselect();
|
||||
|
Loading…
Reference in New Issue
Block a user