feat: only dhow disclaimer if SERVICE_FEE has been set

This commit is contained in:
Eneko Illarramendi
2020-04-23 21:25:55 +02:00
parent f02526585f
commit 897644956a
4 changed files with 21 additions and 17 deletions
+3 -2
View File
@@ -347,8 +347,9 @@ new Vue({
created: function () {
this.fetchPayments();
setTimeout(this.checkPendingPayments(), 1200);
if (!this.$q.localStorage.getItem('lnbits.disclaimerShown')) {
},
mounted: function () {
if (this.$refs.disclaimer && !this.$q.localStorage.getItem('lnbits.disclaimerShown')) {
this.disclaimerDialog.show = true;
this.$q.localStorage.set('lnbits.disclaimerShown', true);
}