From 44700f5f9b8d2aba7c140099272a516e045768c5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 18 Feb 2022 18:01:23 +0300 Subject: [PATCH] Fix about: empty customer logo --- apps/common/main/lib/view/About.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/view/About.js b/apps/common/main/lib/view/About.js index e588215ae..04f3530eb 100644 --- a/apps/common/main/lib/view/About.js +++ b/apps/common/main/lib/view/About.js @@ -235,10 +235,10 @@ define([ this.lblCompanyLic.parents('tr').addClass('hidden'); value = Common.UI.Themes.isDarkTheme() ? (customer.logoDark || customer.logo) : (customer.logo || customer.logoDark); - value.length ? + value && value.length ? this.divCompanyLogo.html('') : this.divCompanyLogo.parents('tr').addClass('hidden'); - value.length && Common.NotificationCenter.on('uitheme:changed', this.changeLogo.bind(this)); + value && value.length && Common.NotificationCenter.on('uitheme:changed', this.changeLogo.bind(this)); } else { this.cntLicenseeInfo.addClass('hidden'); this.cntLicensorInfo.addClass('margin-bottom');