Fix undefined error without refreshing page after creating advanced filters
This commit is contained in:
parent
2221806b7e
commit
ce17f8dfe0
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ L.U.Map.include({
|
||||||
}
|
}
|
||||||
advancedFilterKeys.forEach(property => {
|
advancedFilterKeys.forEach(property => {
|
||||||
advancedFiltersFull[property] = [];
|
advancedFiltersFull[property] = [];
|
||||||
if (!filtersAlreadyLoaded) {
|
if (!filtersAlreadyLoaded || !this.getMap().options.advancedFilters[property]) {
|
||||||
this.getMap().options.advancedFilters[property] = [];
|
this.getMap().options.advancedFilters[property] = [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue