mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -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();
|
||||
options[key].forEach(function(system_type) {
|
||||
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]';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user