Add search for filters

This commit is contained in:
Pieter Vander Vennet 2024-08-26 17:24:12 +02:00
parent 1378c1a779
commit c94393e825
24 changed files with 405 additions and 254 deletions

View file

@ -48,7 +48,6 @@ export class RecentSearch {
}
results.push(simple)
}
console.log("Setting", results)
prefs.setData(JSON.stringify(results))
})
@ -59,7 +58,6 @@ export class RecentSearch {
if (!osm_id) {
return
}
console.log("Selected element is", selected)
if (["node", "way", "relation"].indexOf(osm_type) < 0) {
return
}
@ -86,7 +84,6 @@ export class RecentSearch {
seenIds.add(id)
}
}
console.log(">>>", arr)
this._seenThisSession.set(arr)
}
}