Bugfix: Update client UI to support new DB structure changes

This commit is contained in:
Starbeamrainbowlabs 2019-02-20 17:44:02 +00:00
parent 519e85b66a
commit 2f218e1c88
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}
}