New: Readarr 0.1

This commit is contained in:
ta264
2020-05-06 21:14:11 +01:00
parent 476f2d6047
commit 08496c82af
911 changed files with 14837 additions and 24442 deletions
@@ -62,10 +62,10 @@ class QueueConnector extends Component {
componentDidUpdate(prevProps) {
if (hasDifferentItems(prevProps.items, this.props.items)) {
const albumIds = selectUniqueIds(this.props.items, 'albumId');
const bookIds = selectUniqueIds(this.props.items, 'bookId');
if (albumIds.length) {
this.props.fetchAlbums({ albumIds });
if (bookIds.length) {
this.props.fetchAlbums({ bookIds });
} else {
this.props.clearAlbums();
}