mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -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
|
@ -100,7 +100,7 @@ class Queue extends Component {
|
|||
isPopulated,
|
||||
error,
|
||||
items,
|
||||
isEpisodesPopulated,
|
||||
isAlbumsPopulated,
|
||||
columns,
|
||||
totalRecords,
|
||||
isGrabbing,
|
||||
|
@ -119,7 +119,7 @@ class Queue extends Component {
|
|||
} = this.state;
|
||||
|
||||
const isRefreshing = isFetching || isCheckForFinishedDownloadExecuting;
|
||||
const isAllPopulated = isPopulated && (isEpisodesPopulated || !items.length);
|
||||
const isAllPopulated = isPopulated && (isAlbumsPopulated || !items.length);
|
||||
const selectedCount = this.getSelectedIds().length;
|
||||
const disableSelectedActions = selectedCount === 0;
|
||||
|
||||
|
@ -191,7 +191,7 @@ class Queue extends Component {
|
|||
return (
|
||||
<QueueRowConnector
|
||||
key={item.id}
|
||||
episodeId={item.episode.id}
|
||||
episodeId={item.album.id}
|
||||
episodeEntity={episodeEntities.QUEUE_EPISODES}
|
||||
isSelected={selectedState[item.id]}
|
||||
columns={columns}
|
||||
|
@ -229,7 +229,7 @@ Queue.propTypes = {
|
|||
isPopulated: PropTypes.bool.isRequired,
|
||||
error: PropTypes.object,
|
||||
items: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
isEpisodesPopulated: PropTypes.bool.isRequired,
|
||||
isAlbumsPopulated: PropTypes.bool.isRequired,
|
||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
totalRecords: PropTypes.number,
|
||||
isGrabbing: PropTypes.bool.isRequired,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue