fix: show 'reset brand' button after set branding image (#20420)

This commit is contained in:
NFish 2025-05-29 15:13:00 +08:00 committed by GitHub
parent 808aa4467c
commit 8ef91222ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ const CustomWebAppBrand = () => {
<div className='system-xs-regular text-text-tertiary'>{t('custom.webapp.changeLogoTip')}</div>
</div>
<div className='flex items-center'>
{(uploadDisabled || (!webappLogo && !webappBrandRemoved)) && (
{(!uploadDisabled && webappLogo && !webappBrandRemoved) && (
<>
<Button
variant='ghost'