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:
parent
59199163ca
commit
974d847707
@ -171,7 +171,6 @@ window.addEventListener('resize', rocket.throttle(100, function() {
|
||||
*/
|
||||
beestat.has_early_access = function() {
|
||||
var user = beestat.get_user();
|
||||
return user.user_id === 1;
|
||||
return user.user_id === 1 ||
|
||||
(
|
||||
user.patreon_status !== null &&
|
||||
|
@ -214,12 +214,12 @@ beestat.component.card.runtime_sensor_detail.prototype.decorate_top_right_ = fun
|
||||
}
|
||||
}));
|
||||
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Custom')
|
||||
.set_icon('calendar_edit')
|
||||
.set_callback(function() {
|
||||
(new beestat.component.modal.runtime_sensor_detail_custom()).render();
|
||||
}));
|
||||
// menu.add_menu_item(new beestat.component.menu_item()
|
||||
// .set_text('Custom')
|
||||
// .set_icon('calendar_edit')
|
||||
// .set_callback(function() {
|
||||
// (new beestat.component.modal.runtime_sensor_detail_custom()).render();
|
||||
// }));
|
||||
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Download Chart')
|
||||
|
Loading…
x
Reference in New Issue
Block a user