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

Fixed #367 - Cannot unlink Patreon account after linking

This commit is contained in:
Jon Ziebell 2022-09-19 17:38:47 -04:00
parent 3130905852
commit 88ad7fc177

View File

@ -198,6 +198,8 @@ beestat.component.modal.patreon_status.prototype.get_title_ = function() {
* @return {[beestat.component.button]} The buttons.
*/
beestat.component.modal.patreon_status.prototype.get_buttons_ = function() {
const self = this;
if (beestat.user.patreon_is_connected() === true) {
const unlink = new beestat.component.tile()
.set_text('Unlink')