1
0
mirror of https://github.com/beestat/app.git synced 2025-08-11 09:13:50 -04:00

Fixed Thermostat/Sensor Detail charts not having Download Chart and Reset Zoom buttons always

This commit is contained in:
Jon Ziebell 2023-10-18 21:28:04 -04:00
parent 98e3c9f20d
commit 5e2a30989a
2 changed files with 24 additions and 28 deletions

View File

@ -306,7 +306,6 @@ beestat.component.card.runtime_sensor_detail.prototype.decorate_top_right_ = fun
(new beestat.component.modal.runtime_sensor_detail_custom()).render();
}));
if (this.has_data_() === true) {
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Download Chart')
.set_icon('download')
@ -320,7 +319,6 @@ beestat.component.card.runtime_sensor_detail.prototype.decorate_top_right_ = fun
.set_callback(function() {
self.charts_.temperature.reset_zoom();
}));
}
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Help')

View File

@ -291,7 +291,6 @@ beestat.component.card.runtime_thermostat_detail.prototype.decorate_top_right_ =
(new beestat.component.modal.runtime_thermostat_detail_custom()).render();
}));
if (this.has_data_() === true) {
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Download Chart')
.set_icon('download')
@ -305,7 +304,6 @@ beestat.component.card.runtime_thermostat_detail.prototype.decorate_top_right_ =
.set_callback(function() {
self.charts_.temperature.reset_zoom();
}));
}
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Help')