1
0
mirror of https://github.com/beestat/app.git synced 2025-06-04 06:07:19 -04:00

Fixed #272 - Thermostat Detail stuck in the past

This commit is contained in:
Jon Ziebell 2020-06-22 21:04:59 -04:00
parent 663787f046
commit 53272ec5b0
2 changed files with 101 additions and 101 deletions

View File

@ -251,7 +251,6 @@ beestat.component.card.runtime_sensor_detail.prototype.decorate_top_right_ = fun
var menu = (new beestat.component.menu()).render(parent);
if (this.has_data_() === true) {
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Past 1 Day')
.set_icon('numeric_1_box')
@ -307,6 +306,7 @@ 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')

View File

@ -237,7 +237,6 @@ beestat.component.card.runtime_thermostat_detail.prototype.decorate_top_right_ =
var menu = (new beestat.component.menu()).render(parent);
if (this.has_data_() === true) {
menu.add_menu_item(new beestat.component.menu_item()
.set_text('Past 1 Day')
.set_icon('numeric_1_box')
@ -293,6 +292,7 @@ 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')