Fixed: Existing and Already In Library icons for movie search results

pull/10372/head
Bogdan 3 months ago
parent be3916f67d
commit 675612e7c6

@ -155,26 +155,27 @@ class AddNewMovieSearchResult extends Component {
</div> </div>
<div className={styles.icons}> <div className={styles.icons}>
<div>
{
isExistingMovie &&
<Icon
className={styles.alreadyExistsIcon}
name={icons.CHECK_CIRCLE}
size={36}
title={translate('AlreadyInYourLibrary')}
/>
}
{ {
isExistingMovie && isExcluded &&
<Icon <Icon
className={styles.alreadyExistsIcon} className={styles.exclusionIcon}
name={icons.CHECK_CIRCLE} name={icons.DANGER}
size={36} size={36}
title={translate('AlreadyInYourLibrary')} title={translate('MovieIsOnImportExclusionList')}
/> />
} }
</div>
{
isExcluded &&
<Icon
className={styles.exclusionIcon}
name={icons.DANGER}
size={36}
title={translate('MovieIsOnImportExclusionList')}
/>
}
</div> </div>
</div> </div>

Loading…
Cancel
Save