From 0b5713c74ed2c2e55919e0d0c0ec62e68267515a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 19 Jan 2019 13:50:45 +0000 Subject: [PATCH] [client] Select the right initial reading type --- client_src/js/UI.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/client_src/js/UI.mjs b/client_src/js/UI.mjs index ae716cd..8d03f20 100644 --- a/client_src/js/UI.mjs +++ b/client_src/js/UI.mjs @@ -45,6 +45,7 @@ class UI { }).bind(this) } ]); + this.ui_panel.setIndex("Reading Type", this.reading_types.findIndex((type) => type.id == "PM25")); } }