Parcourir la source

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

tags/1.4.2
NFish il y a 5 mois
Parent
révision
8ef91222ea
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      web/app/components/custom/custom-web-app-brand/index.tsx

+ 1
- 1
web/app/components/custom/custom-web-app-brand/index.tsx Voir le fichier

@@ -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'

Chargement…
Annuler
Enregistrer