mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Disable Artist/Album buttons if no items Selected
This commit is contained in:
parent
37166f5399
commit
bc008ab1dc
1 changed files with 8 additions and 2 deletions
|
@ -314,12 +314,18 @@ class InteractiveImportModalContent extends Component {
|
|||
<div className={styles.centerButtons}>
|
||||
{
|
||||
allowArtistChange &&
|
||||
<Button onPress={this.onSelectArtistPress}>
|
||||
<Button
|
||||
onPress={this.onSelectArtistPress}
|
||||
isDisabled={!selectedIds.length}
|
||||
>
|
||||
Select Artist
|
||||
</Button>
|
||||
}
|
||||
|
||||
<Button onPress={this.onSelectAlbumPress}>
|
||||
<Button
|
||||
onPress={this.onSelectAlbumPress}
|
||||
isDisabled={!selectedIds.length}
|
||||
>
|
||||
Select Album
|
||||
</Button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue