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

Sensor data is now live for $5 Patrons

This commit is contained in:
Jon Ziebell 2020-01-16 20:01:40 -05:00
parent 59199163ca
commit 974d847707
2 changed files with 6 additions and 7 deletions

View File

@ -171,7 +171,6 @@ window.addEventListener('resize', rocket.throttle(100, function() {
*/ */
beestat.has_early_access = function() { beestat.has_early_access = function() {
var user = beestat.get_user(); var user = beestat.get_user();
return user.user_id === 1;
return user.user_id === 1 || return user.user_id === 1 ||
( (
user.patreon_status !== null && user.patreon_status !== null &&

View File

@ -214,12 +214,12 @@ beestat.component.card.runtime_sensor_detail.prototype.decorate_top_right_ = fun
} }
})); }));
menu.add_menu_item(new beestat.component.menu_item() // menu.add_menu_item(new beestat.component.menu_item()
.set_text('Custom') // .set_text('Custom')
.set_icon('calendar_edit') // .set_icon('calendar_edit')
.set_callback(function() { // .set_callback(function() {
(new beestat.component.modal.runtime_sensor_detail_custom()).render(); // (new beestat.component.modal.runtime_sensor_detail_custom()).render();
})); // }));
menu.add_menu_item(new beestat.component.menu_item() menu.add_menu_item(new beestat.component.menu_item()
.set_text('Download Chart') .set_text('Download Chart')