fix: for g.user error on public pages (#2892)

* fix for g.user error

* dont even mount
This commit is contained in:
Arc
2025-01-16 16:18:15 +00:00
committed by GitHub
parent b164317121
commit 5d4d22dcdd
2 changed files with 4 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -787,8 +787,10 @@ window.windowMixin = {
this.mobileSimple = this.$q.localStorage.getItem('lnbits.mobileSimple') this.mobileSimple = this.$q.localStorage.getItem('lnbits.mobileSimple')
}, },
mounted() { mounted() {
if (this.g.user) {
this.paymentEvents() this.paymentEvents()
} }
}
} }
window.decryptLnurlPayAES = (success_action, preimage) => { window.decryptLnurlPayAES = (success_action, preimage) => {