mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 03:38:26 -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}>
|
<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…
Add table
Add a link
Reference in a new issue