forked from MapComplete/MapComplete
Fix: fix small background crashes
This commit is contained in:
parent
d8f7fe3b01
commit
a073b9de94
2 changed files with 4 additions and 1 deletions
|
|
@ -209,6 +209,9 @@ export default class FavouritesFeatureSource extends StaticFeatureSource {
|
|||
continue
|
||||
}
|
||||
const store = featureProperties.getStore(id)
|
||||
if(store === undefined){
|
||||
continue
|
||||
}
|
||||
const origValue = store.data._favourite
|
||||
if (detected.indexOf(id) >= 0) {
|
||||
if (origValue !== "yes") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue