forked from MapComplete/MapComplete
Fix: fix #2212.
This commit is contained in:
parent
a8991a6f8e
commit
91f5c8f166
1 changed files with 4 additions and 1 deletions
|
@ -341,7 +341,10 @@ export class OsmPreferences {
|
|||
|
||||
async removeAllWithPrefix(prefix: string) {
|
||||
const keys = this.seenKeys
|
||||
for (const key in keys) {
|
||||
for (const key of keys) {
|
||||
if(!key.startsWith(prefix)){
|
||||
continue
|
||||
}
|
||||
await this.deleteKeyDirectly(key)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue