diff --git a/client_src/js/UI.mjs b/client_src/js/UI.mjs index b722274..d9e25e1 100644 --- a/client_src/js/UI.mjs +++ b/client_src/js/UI.mjs @@ -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")); } }