Fixed: UI doesn't detect ArtistRenamingCommand is running

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/496/head
Qstick 6 years ago
parent 2c492fdb72
commit d728b0c4b2

@ -56,7 +56,7 @@ function createMapStateToProps() {
const isRenamingArtistCommand = findCommand(commands, { name: commandNames.RENAME_ARTIST });
const isRenamingArtist = (
isCommandExecuting(isRenamingArtistCommand) &&
isRenamingArtistCommand.body.artistId.indexOf(artist.id) > -1
isRenamingArtistCommand.body.artistIds.indexOf(artist.id) > -1
);
const isFetching = albums.isFetching || trackFiles.isFetching;

Loading…
Cancel
Save