fix: why even optimize

This commit is contained in:
Vlad Stan 2023-07-19 10:21:03 +03:00
parent 388a32bc47
commit bb2d68d7dc

View file

@ -110,7 +110,7 @@ const market = async () => {
config(n, o) {
if (!n?.opts?.ui?.banner) {
this.bannerImage = this.defaultBanner
} else if (n?.opts?.ui?.banner !== o?.opts?.ui?.banner) {
} else {
this.bannerImage = null
setTimeout(() => {
this.bannerImage = this.sanitizeImageSrc(n?.opts?.ui?.banner, this.defaultBanner), 1
@ -118,7 +118,7 @@ const market = async () => {
}
if (!n?.opts?.ui?.picture) {
this.logoImage = this.defaultLogo
} else if (n?.opts?.ui?.picture !== o?.opts?.ui?.picture) {
} else {
this.logoImage = null
setTimeout(() => {
this.logoImage = this.sanitizeImageSrc(n?.opts?.ui?.picture, this.defaultLogo), 1