mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
fix: for g.user error on public pages (#2892)
* fix for g.user error * dont even mount
This commit is contained in:
parent
b164317121
commit
5d4d22dcdd
2 changed files with 4 additions and 2 deletions
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -787,7 +787,9 @@ window.windowMixin = {
|
|||
this.mobileSimple = this.$q.localStorage.getItem('lnbits.mobileSimple')
|
||||
},
|
||||
mounted() {
|
||||
this.paymentEvents()
|
||||
if (this.g.user) {
|
||||
this.paymentEvents()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue