Fixed: Disable Artist/Album buttons if no items Selected

pull/635/head
Qstick 6 years ago
parent 37166f5399
commit bc008ab1dc

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

Loading…
Cancel
Save