fix: frontend bgimagechoice can be null (#3270)

This commit is contained in:
dni ⚡ 2025-07-15 11:36:39 +02:00 committed by GitHub
parent ad48092549
commit 8b29148085
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -650,6 +650,7 @@ window.windowMixin = {
} }
}, },
applyBackgroundImage() { applyBackgroundImage() {
if (this.bgimageChoice == 'null') this.bgimageChoice = ''
if (this.bgimageChoice == '') { if (this.bgimageChoice == '') {
document.body.classList.remove('bg-image') document.body.classList.remove('bg-image')
} else { } else {