mirror of
https://github.com/beestat/app.git
synced 2025-06-03 05:36:51 -04:00
Fixed system type changer not labeling detected values
This commit is contained in:
parent
635bb2242b
commit
6a4955e7c0
@ -65,7 +65,7 @@ beestat.component.modal.change_system_type.prototype.decorate_contents_ = functi
|
|||||||
let button_group = new beestat.component.button_group();
|
let button_group = new beestat.component.button_group();
|
||||||
options[key].forEach(function(system_type) {
|
options[key].forEach(function(system_type) {
|
||||||
let text = system_type.charAt(0).toUpperCase() + system_type.slice(1);
|
let text = system_type.charAt(0).toUpperCase() + system_type.slice(1);
|
||||||
if (thermostat.system_type.detected[key] === system_type) {
|
if (thermostat.system_type.detected[key].equipment === system_type) {
|
||||||
text += ' [Detected]';
|
text += ' [Detected]';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user