Browse Source

Bugfix: Update client UI to support new DB structure changes

pull/26/head
Starbeamrainbowlabs 4 years ago
parent
commit
2f218e1c88
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      client_src/js/UI.mjs

2
client_src/js/UI.mjs

@ -61,7 +61,7 @@ class UI { @@ -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"));
}
}

Loading…
Cancel
Save