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

Fixed #371 - Unable to start Direct Giving recurring support if Patreon is active?

This commit is contained in:
Jon Ziebell 2022-11-16 18:58:40 -05:00
parent 62bcce806d
commit dbaaf95a89

View File

@ -226,6 +226,15 @@ beestat.component.card.contribute_status.prototype.decorate_patreon_ = function(
link_button.render($(button_container));
}
}
if (beestat.user.patreon_is_active() === true) {
const p = document.createElement('p');
Object.assign(p.style, {
'font-style': 'italic'
});
p.innerText = 'Want to switch to direct giving? First cancel your Patreon subscription and unlink your account.';
parent.appendChild(p);
}
};
/**