Fixed: Disable Artist/Album buttons if no items Selected

This commit is contained in:
Qstick 2019-01-26 21:20:13 -05:00
parent 37166f5399
commit bc008ab1dc

View file

@ -314,12 +314,18 @@ class InteractiveImportModalContent extends Component {
<div className={styles.centerButtons}> <div className={styles.centerButtons}>
{ {
allowArtistChange && allowArtistChange &&
<Button onPress={this.onSelectArtistPress}> <Button
onPress={this.onSelectArtistPress}
isDisabled={!selectedIds.length}
>
Select Artist Select Artist
</Button> </Button>
} }
<Button onPress={this.onSelectAlbumPress}> <Button
onPress={this.onSelectAlbumPress}
isDisabled={!selectedIds.length}
>
Select Album Select Album
</Button> </Button>
</div> </div>