From bb2d68d7dcd0057083151fc3bc19b775e2b25bbe Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 19 Jul 2023 10:21:03 +0300 Subject: [PATCH] fix: why even optimize --- static/js/market.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/market.js b/static/js/market.js index b643ebb..3a0a3e6 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -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