mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Allowing contribute banner to be dismissed
This commit is contained in:
parent
690a51b450
commit
30f61cd080
@ -44,11 +44,6 @@ beestat.component.card.contribute_banner.prototype.decorate_contents_ = function
|
||||
});
|
||||
tile_group.add_tile(watch_tile);
|
||||
|
||||
// Allow dismiss if you are a supporter or if you have given via Stripe.
|
||||
if (
|
||||
beestat.user.contribution_is_active() === true ||
|
||||
Object.keys(beestat.cache.stripe_event).length > 0
|
||||
) {
|
||||
const dismiss_tile = new beestat.component.tile()
|
||||
.set_icon('close')
|
||||
.set_shadow(false)
|
||||
@ -59,7 +54,6 @@ beestat.component.card.contribute_banner.prototype.decorate_contents_ = function
|
||||
beestat.current_layer.render();
|
||||
});
|
||||
tile_group.add_tile(dismiss_tile);
|
||||
}
|
||||
|
||||
tile_group.render($(center));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user