forked from MapComplete/MapComplete
Fix: interpret missing level tag as 'level=0'
This commit is contained in:
parent
8b5daefc90
commit
5d8b422162
2 changed files with 11 additions and 4 deletions
|
@ -270,6 +270,8 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
|||
for (const l of levels) {
|
||||
floors.add(l)
|
||||
}
|
||||
}else{
|
||||
floors.add("0") // '0' is the default and is thus _always_ present
|
||||
}
|
||||
}
|
||||
const sorted = Array.from(floors)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue