mirror of
https://github.com/beestat/app.git
synced 2025-06-03 21:57:32 -04:00
Hiding Patreon link/status in the demo.
This commit is contained in:
parent
05b24f858e
commit
6adeb1c6a0
@ -177,6 +177,7 @@ beestat.component.header.prototype.decorate_ = function(parent) {
|
||||
(new beestat.component.modal.download_data()).render();
|
||||
}));
|
||||
|
||||
if (window.is_demo === false) {
|
||||
if (beestat.user.patreon_is_connected() === false) {
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Link Patreon')
|
||||
@ -193,6 +194,7 @@ beestat.component.header.prototype.decorate_ = function(parent) {
|
||||
(new beestat.component.modal.patreon_status()).render();
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Log Out')
|
||||
|
Loading…
x
Reference in New Issue
Block a user