1
0
mirror of https://github.com/beestat/app.git synced 2025-06-03 05:36:51 -04:00

Fixed ability to hide Patreon banner for 1 month.

This commit is contained in:
Jon Ziebell 2020-01-21 21:55:03 -05:00
parent 6adeb1c6a0
commit 6e9a67c987
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,10 @@
beestat.component.card.patreon = function() { beestat.component.card.patreon = function() {
var self = this; var self = this;
beestat.dispatcher.addEventListener('cache.user', function() { beestat.dispatcher.addEventListener([
'cache.user',
'setting.patreon_hide_until'
], function() {
self.rerender(); self.rerender();
}); });

View File

@ -45,7 +45,6 @@ beestat.component.modal.enjoy_beestat.prototype.hide_patreon_card_for_ = functio
.add(amount, unit) .add(amount, unit)
.format('YYYY-MM-DD HH:mm:ss') .format('YYYY-MM-DD HH:mm:ss')
); );
beestat.cards.patreon.dispose();
}; };
/** /**