From 8ef91222ea5b7c7bf6df17667ba9bfd73b3aa9a9 Mon Sep 17 00:00:00 2001 From: NFish Date: Thu, 29 May 2025 15:13:00 +0800 Subject: [PATCH] fix: show 'reset brand' button after set branding image (#20420) --- web/app/components/custom/custom-web-app-brand/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/custom/custom-web-app-brand/index.tsx b/web/app/components/custom/custom-web-app-brand/index.tsx index f6f617be85..ea2f44caea 100644 --- a/web/app/components/custom/custom-web-app-brand/index.tsx +++ b/web/app/components/custom/custom-web-app-brand/index.tsx @@ -130,7 +130,7 @@ const CustomWebAppBrand = () => {
{t('custom.webapp.changeLogoTip')}
- {(uploadDisabled || (!webappLogo && !webappBrandRemoved)) && ( + {(!uploadDisabled && webappLogo && !webappBrandRemoved) && ( <>