forked from edward/owl-map
Don't crash when item isn't found.
This commit is contained in:
parent
9a841921f4
commit
caed12c325
|
@ -1305,6 +1305,10 @@ export default {
|
|||
this.close_edit_list();
|
||||
|
||||
var item = this.items[qid];
|
||||
if (item === undefined) {
|
||||
this.close_item();
|
||||
return;
|
||||
}
|
||||
if (marker) {
|
||||
this.selected_marker = marker;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue