fix: for g.user error on public pages (#2892)
* fix for g.user error * dont even mount
This commit is contained in:
Vendored
+1
-1
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user