1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Removed affiliate link for demo

This commit is contained in:
Jon Ziebell 2023-10-20 08:17:47 -04:00
parent 566e27fb45
commit ae74fd4f02

View File

@ -58,7 +58,10 @@ beestat.layer.visualize.prototype.decorate_ = function(parent) {
} }
]); ]);
if (beestat.setting('visualize.hide_affiliate') === false) { if (
beestat.setting('visualize.hide_affiliate') === false &&
window.is_demo === false
) {
cards.push([ cards.push([
{ {
'card': new beestat.component.card.visualize_affiliate(), 'card': new beestat.component.card.visualize_affiliate(),