Fix: interpret missing level tag as 'level=0'

This commit is contained in:
Pieter Vander Vennet 2023-05-25 10:45:17 +02:00
parent 8b5daefc90
commit 5d8b422162
2 changed files with 11 additions and 4 deletions

View file

@ -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)