episodeId,
+ (state, { albumId }) => albumId,
(state, { sceneSeasonNumber }) => sceneSeasonNumber,
createArtistSelector(),
createCommandsSelector(),
- (episodeId, sceneSeasonNumber, series, commands) => {
+ (albumId, sceneSeasonNumber, series, commands) => {
const isSearching = _.some(commands, (command) => {
const episodeSearch = command.name === commandNames.EPISODE_SEARCH;
@@ -21,7 +21,7 @@ function createMapStateToProps() {
return false;
}
- return command.body.albumIds.indexOf(episodeId) > -1;
+ return command.body.albumIds.indexOf(albumId) > -1;
});
return {
@@ -38,7 +38,7 @@ function createMapDispatchToProps(dispatch, props) {
onSearchPress(name, path) {
dispatch(executeCommand({
name: commandNames.EPISODE_SEARCH,
- albumIds: [props.episodeId]
+ albumIds: [props.albumId]
}));
}
};
diff --git a/frontend/src/Episode/EpisodeStatusConnector.js b/frontend/src/Episode/EpisodeStatusConnector.js
index c5883355f..f19513b8b 100644
--- a/frontend/src/Episode/EpisodeStatusConnector.js
+++ b/frontend/src/Episode/EpisodeStatusConnector.js
@@ -46,7 +46,7 @@ class EpisodeStatusConnector extends Component {
}
EpisodeStatusConnector.propTypes = {
- episodeId: PropTypes.number.isRequired,
+ albumId: PropTypes.number.isRequired,
trackFileId: PropTypes.number.isRequired
};
diff --git a/frontend/src/Episode/Summary/EpisodeSummary.js b/frontend/src/Episode/Summary/EpisodeSummary.js
index 6869ad889..b1d5452ec 100644
--- a/frontend/src/Episode/Summary/EpisodeSummary.js
+++ b/frontend/src/Episode/Summary/EpisodeSummary.js
@@ -88,8 +88,8 @@ class EpisodeSummary extends Component {
{
hasOverview ?
- overview :
- 'No album overview.'
+ overview :
+ 'No album overview.'
}
diff --git a/frontend/src/Episode/Summary/EpisodeSummaryConnector.js b/frontend/src/Episode/Summary/EpisodeSummaryConnector.js
index 8e0976968..090c0dba6 100644
--- a/frontend/src/Episode/Summary/EpisodeSummaryConnector.js
+++ b/frontend/src/Episode/Summary/EpisodeSummaryConnector.js
@@ -20,7 +20,7 @@ function createMapStateToProps() {
return {
network: episode.label,
qualityProfileId: episode.profileId,
- airDateUtc: episode.releaseDate,
+ releaseDate: episode.releaseDate,
overview: episode.overview,
items,
columns: tracks.columns
diff --git a/frontend/src/Episode/Summary/TrackDetailRow.js b/frontend/src/Episode/Summary/TrackDetailRow.js
index ad5d9a5c4..9bfd4a82a 100644
--- a/frontend/src/Episode/Summary/TrackDetailRow.js
+++ b/frontend/src/Episode/Summary/TrackDetailRow.js
@@ -96,7 +96,7 @@ class TrackDetailRow extends Component {
className={styles.status}
>