mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
[UI Work] History, Queue, Calendar Fixes
This commit is contained in:
@@ -51,10 +51,10 @@ class CutoffUnmetConnector extends Component {
|
||||
|
||||
componentDidUpdate(prevProps) {
|
||||
if (hasDifferentItems(prevProps.items, this.props.items)) {
|
||||
const episodeIds = selectUniqueIds(this.props.items, 'id');
|
||||
const albumIds = selectUniqueIds(this.props.items, 'id');
|
||||
const episodeFileIds = selectUniqueIds(this.props.items, 'episodeFileId');
|
||||
|
||||
this.props.fetchQueueDetails({ episodeIds });
|
||||
this.props.fetchQueueDetails({ albumIds });
|
||||
|
||||
if (episodeFileIds.length) {
|
||||
this.props.fetchEpisodeFiles({ episodeFileIds });
|
||||
|
||||
Reference in New Issue
Block a user