Browse Source

Code improvement

https://youtrack.weseek.co.jp/issue/GW-7759
- Set isDefaultLogo `true` when no logo uploaded
mudana 3 years ago
parent
commit
1457d49d6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/client/services/AdminCustomizeContainer.js

+ 1 - 1
packages/app/src/client/services/AdminCustomizeContainer.js

@@ -108,7 +108,7 @@ export default class AdminCustomizeContainer extends Container {
         currentCustomizeCss: customizeParams.customizeCss,
         currentCustomizeScript: customizeParams.customizeScript,
         brandLogoAttachmentId: customizeParams.brandLogoAttachmentId,
-        isDefaultLogo: customizeParams.brandLogoAttachmentId === undefined ? true : customizeParams.isDefaultLogo,
+        isDefaultLogo: customizeParams.uploadedLogoSrc == null ? true : customizeParams.isDefaultLogo,
         uploadedLogoSrc: customizeParams.uploadedLogoSrc,
       });
       // search style name from object for display