mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Bugfix: Update client UI to support new DB structure changes
This commit is contained in:
parent
519e85b66a
commit
2f218e1c88
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class UI {
|
|||
})
|
||||
}
|
||||
]);
|
||||
this.ui_panel.setIndex("Reading Type", this.reading_types.findIndex((type) => type.id == "PM25"));
|
||||
this.ui_panel.setIndex("Reading Type", this.reading_types.findIndex((type) => type.short_descr == "PM25"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue