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

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