Fixed: (UI) Import Lists enabled status doesn't rely on automatic add

Fixes #9375
pull/9377/head
Bogdan 1 year ago
parent 50465fd482
commit 6362ee9b7d

@ -74,9 +74,15 @@ class ImportList extends Component {
<div className={styles.enabled}> <div className={styles.enabled}>
{ {
enabled && enabled ?
<Label kind={kinds.SUCCESS}> <Label kind={kinds.SUCCESS}>
{translate('Enabled')} {translate('Enabled')}
</Label> :
<Label
kind={kinds.DISABLED}
outline={true}
>
{translate('Disabled')}
</Label> </Label>
} }
@ -86,16 +92,6 @@ class ImportList extends Component {
{translate('Auto')} {translate('Auto')}
</Label> </Label>
} }
{
!enabled && !enableAuto &&
<Label
kind={kinds.DISABLED}
outline={true}
>
{translate('Disabled')}
</Label>
}
</div> </div>
<div className={styles.enabled}> <div className={styles.enabled}>

Loading…
Cancel
Save