mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
[UI Work] History, Queue, Calendar Fixes
This commit is contained in:
parent
d2bafd4605
commit
871a3773b2
17 changed files with 91 additions and 122 deletions
|
@ -21,7 +21,7 @@ function createMapStateToProps() {
|
|||
|
||||
return {
|
||||
isCheckForFinishedDownloadExecuting,
|
||||
isEpisodesPopulated: queueEpisodes.isPopulated,
|
||||
isAlbumsPopulated: queueEpisodes.isPopulated,
|
||||
...queue
|
||||
};
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ class QueueConnector extends Component {
|
|||
componentDidUpdate(prevProps) {
|
||||
if (hasDifferentItems(prevProps.items, this.props.items)) {
|
||||
const episodes = _.uniqBy(_.reduce(this.props.items, (result, item) => {
|
||||
result.push(item.episode);
|
||||
result.push(item.album);
|
||||
|
||||
return result;
|
||||
}, []), ({ id }) => id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue