mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07:00
Refactor Episode section naming to Album in UI
This commit is contained in:
parent
0e7a22dc95
commit
b1a016289c
66 changed files with 372 additions and 372 deletions
|
@ -8,7 +8,7 @@ import TableRow from 'Components/Table/TableRow';
|
|||
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||
import TableSelectCell from 'Components/Table/Cells/TableSelectCell';
|
||||
import ProtocolLabel from 'Activity/Queue/ProtocolLabel';
|
||||
import EpisodeTitleLink from 'Album/EpisodeTitleLink';
|
||||
import AlbumTitleLink from 'Album/AlbumTitleLink';
|
||||
import EpisodeQuality from 'Album/EpisodeQuality';
|
||||
import InteractiveImportModal from 'InteractiveImport/InteractiveImportModal';
|
||||
import ArtistNameLink from 'Artist/ArtistNameLink';
|
||||
|
@ -68,7 +68,7 @@ class QueueRow extends Component {
|
|||
statusMessages,
|
||||
errorMessage,
|
||||
artist,
|
||||
episode,
|
||||
album,
|
||||
quality,
|
||||
protocol,
|
||||
indexer,
|
||||
|
@ -152,14 +152,14 @@ class QueueRow extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
if (name === 'episodeTitle') {
|
||||
if (name === 'albumTitle') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<EpisodeTitleLink
|
||||
albumId={episode.id}
|
||||
<AlbumTitleLink
|
||||
albumId={album.id}
|
||||
artistId={artist.id}
|
||||
trackFileId={episode.trackFileId}
|
||||
episodeTitle={episode.title}
|
||||
trackFileId={album.trackFileId}
|
||||
albumTitle={album.title}
|
||||
showOpenArtistButton={true}
|
||||
/>
|
||||
</TableRowCell>
|
||||
|
@ -300,7 +300,7 @@ QueueRow.propTypes = {
|
|||
statusMessages: PropTypes.arrayOf(PropTypes.object),
|
||||
errorMessage: PropTypes.string,
|
||||
artist: PropTypes.object.isRequired,
|
||||
episode: PropTypes.object.isRequired,
|
||||
album: PropTypes.object.isRequired,
|
||||
quality: PropTypes.object.isRequired,
|
||||
protocol: PropTypes.string.isRequired,
|
||||
indexer: PropTypes.string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue