fix: uiCustomisation JS Error (#3752)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -127,7 +127,7 @@ window.app.component('lnbits-theme', {
|
|||||||
if (this.g.mobileSimple === true) {
|
if (this.g.mobileSimple === true) {
|
||||||
document.body.classList.add('mobile-simple')
|
document.body.classList.add('mobile-simple')
|
||||||
}
|
}
|
||||||
Object.entries(this.g.user.uiCustomization || {}).forEach(
|
Object.entries(this.g.user?.uiCustomization || {}).forEach(
|
||||||
([key, value]) => {
|
([key, value]) => {
|
||||||
if (key in this.g) {
|
if (key in this.g) {
|
||||||
this.g[key] = value
|
this.g[key] = value
|
||||||
|
|||||||
Reference in New Issue
Block a user