Fixed: UI doesn't detect ArtistRenamingCommand is running

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

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

Loading…
Cancel
Save