fix: uiCustomisation JS Error (#3752)

This commit is contained in:
dni ⚡ 2026-01-30 09:27:54 +01:00
parent 15f093c136
commit c65ab2af87
No known key found for this signature in database
GPG key ID: D1F416F29AD26E87
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -127,7 +127,7 @@ window.app.component('lnbits-theme', {
if (this.g.mobileSimple === true) {
document.body.classList.add('mobile-simple')
}
Object.entries(this.g.user.uiCustomization || {}).forEach(
Object.entries(this.g.user?.uiCustomization || {}).forEach(
([key, value]) => {
if (key in this.g) {
this.g[key] = value