[client] Select the right initial reading type

This commit is contained in:
Starbeamrainbowlabs 2019-01-19 13:50:45 +00:00
parent 95f2e673e2
commit 0b5713c74e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -45,6 +45,7 @@ class UI {
}).bind(this)
}
]);
this.ui_panel.setIndex("Reading Type", this.reading_types.findIndex((type) => type.id == "PM25"));
}
}