Cleanup old usages of languageCutoffNotMet
This commit is contained in:
parent
fe5c52602a
commit
84e6649724
|
@ -60,7 +60,6 @@ class HistoryRow extends Component {
|
||||||
series,
|
series,
|
||||||
episode,
|
episode,
|
||||||
languages,
|
languages,
|
||||||
languageCutoffNotMet,
|
|
||||||
quality,
|
quality,
|
||||||
customFormats,
|
customFormats,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
|
@ -147,10 +146,7 @@ class HistoryRow extends Component {
|
||||||
if (name === 'languages') {
|
if (name === 'languages') {
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name}>
|
<TableRowCell key={name}>
|
||||||
<EpisodeLanguages
|
<EpisodeLanguages languages={languages} />
|
||||||
languages={languages}
|
|
||||||
isCutoffMet={languageCutoffNotMet}
|
|
||||||
/>
|
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -279,7 +275,6 @@ HistoryRow.propTypes = {
|
||||||
series: PropTypes.object.isRequired,
|
series: PropTypes.object.isRequired,
|
||||||
episode: PropTypes.object,
|
episode: PropTypes.object,
|
||||||
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
languageCutoffNotMet: PropTypes.bool.isRequired,
|
|
||||||
quality: PropTypes.object.isRequired,
|
quality: PropTypes.object.isRequired,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||||
|
|
|
@ -66,7 +66,6 @@ class EpisodeHistoryRow extends Component {
|
||||||
eventType,
|
eventType,
|
||||||
sourceTitle,
|
sourceTitle,
|
||||||
languages,
|
languages,
|
||||||
languageCutoffNotMet,
|
|
||||||
quality,
|
quality,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
customFormats,
|
customFormats,
|
||||||
|
@ -90,10 +89,7 @@ class EpisodeHistoryRow extends Component {
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
|
|
||||||
<TableRowCell>
|
<TableRowCell>
|
||||||
<EpisodeLanguages
|
<EpisodeLanguages languages={languages} />
|
||||||
languages={languages}
|
|
||||||
isCutoffNotMet={languageCutoffNotMet}
|
|
||||||
/>
|
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
|
|
||||||
<TableRowCell>
|
<TableRowCell>
|
||||||
|
@ -166,7 +162,6 @@ EpisodeHistoryRow.propTypes = {
|
||||||
eventType: PropTypes.string.isRequired,
|
eventType: PropTypes.string.isRequired,
|
||||||
sourceTitle: PropTypes.string.isRequired,
|
sourceTitle: PropTypes.string.isRequired,
|
||||||
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
languageCutoffNotMet: PropTypes.bool.isRequired,
|
|
||||||
quality: PropTypes.object.isRequired,
|
quality: PropTypes.object.isRequired,
|
||||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||||
|
|
|
@ -54,7 +54,6 @@ class EpisodeFileRow extends Component {
|
||||||
languages,
|
languages,
|
||||||
quality,
|
quality,
|
||||||
customFormats,
|
customFormats,
|
||||||
languageCutoffNotMet,
|
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
mediaInfo,
|
mediaInfo,
|
||||||
columns
|
columns
|
||||||
|
@ -95,10 +94,7 @@ class EpisodeFileRow extends Component {
|
||||||
key={name}
|
key={name}
|
||||||
className={styles.languages}
|
className={styles.languages}
|
||||||
>
|
>
|
||||||
<EpisodeLanguages
|
<EpisodeLanguages languages={languages} />
|
||||||
languages={languages}
|
|
||||||
isCutoffNotMet={languageCutoffNotMet}
|
|
||||||
/>
|
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -183,7 +179,6 @@ EpisodeFileRow.propTypes = {
|
||||||
path: PropTypes.string.isRequired,
|
path: PropTypes.string.isRequired,
|
||||||
size: PropTypes.number.isRequired,
|
size: PropTypes.number.isRequired,
|
||||||
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
languageCutoffNotMet: PropTypes.bool.isRequired,
|
|
||||||
quality: PropTypes.object.isRequired,
|
quality: PropTypes.object.isRequired,
|
||||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||||
|
|
|
@ -93,7 +93,6 @@ class EpisodeSummary extends Component {
|
||||||
languages,
|
languages,
|
||||||
quality,
|
quality,
|
||||||
customFormats,
|
customFormats,
|
||||||
languageCutoffNotMet,
|
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
onDeleteEpisodeFile
|
onDeleteEpisodeFile
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
@ -140,7 +139,6 @@ class EpisodeSummary extends Component {
|
||||||
path={path}
|
path={path}
|
||||||
size={size}
|
size={size}
|
||||||
languages={languages}
|
languages={languages}
|
||||||
languageCutoffNotMet={languageCutoffNotMet}
|
|
||||||
quality={quality}
|
quality={quality}
|
||||||
qualityCutoffNotMet={qualityCutoffNotMet}
|
qualityCutoffNotMet={qualityCutoffNotMet}
|
||||||
customFormats={customFormats}
|
customFormats={customFormats}
|
||||||
|
@ -177,7 +175,6 @@ EpisodeSummary.propTypes = {
|
||||||
path: PropTypes.string,
|
path: PropTypes.string,
|
||||||
size: PropTypes.number,
|
size: PropTypes.number,
|
||||||
languages: PropTypes.arrayOf(PropTypes.object),
|
languages: PropTypes.arrayOf(PropTypes.object),
|
||||||
languageCutoffNotMet: PropTypes.bool,
|
|
||||||
quality: PropTypes.object,
|
quality: PropTypes.object,
|
||||||
qualityCutoffNotMet: PropTypes.bool,
|
qualityCutoffNotMet: PropTypes.bool,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||||
|
|
|
@ -29,7 +29,6 @@ function createMapStateToProps() {
|
||||||
path,
|
path,
|
||||||
size,
|
size,
|
||||||
languages,
|
languages,
|
||||||
languageCutoffNotMet,
|
|
||||||
quality,
|
quality,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
customFormats
|
customFormats
|
||||||
|
@ -44,7 +43,6 @@ function createMapStateToProps() {
|
||||||
path,
|
path,
|
||||||
size,
|
size,
|
||||||
languages,
|
languages,
|
||||||
languageCutoffNotMet,
|
|
||||||
quality,
|
quality,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
customFormats
|
customFormats
|
||||||
|
|
|
@ -68,7 +68,6 @@ class SeriesHistoryRow extends Component {
|
||||||
eventType,
|
eventType,
|
||||||
sourceTitle,
|
sourceTitle,
|
||||||
languages,
|
languages,
|
||||||
languageCutoffNotMet,
|
|
||||||
quality,
|
quality,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
customFormats,
|
customFormats,
|
||||||
|
@ -110,10 +109,7 @@ class SeriesHistoryRow extends Component {
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
|
|
||||||
<TableRowCell>
|
<TableRowCell>
|
||||||
<EpisodeLanguages
|
<EpisodeLanguages languages={languages} />
|
||||||
languages={languages}
|
|
||||||
isCutoffNotMet={languageCutoffNotMet}
|
|
||||||
/>
|
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
|
|
||||||
<TableRowCell>
|
<TableRowCell>
|
||||||
|
@ -186,7 +182,6 @@ SeriesHistoryRow.propTypes = {
|
||||||
eventType: PropTypes.string.isRequired,
|
eventType: PropTypes.string.isRequired,
|
||||||
sourceTitle: PropTypes.string.isRequired,
|
sourceTitle: PropTypes.string.isRequired,
|
||||||
languages: PropTypes.object.isRequired,
|
languages: PropTypes.object.isRequired,
|
||||||
languageCutoffNotMet: PropTypes.bool.isRequired,
|
|
||||||
quality: PropTypes.object.isRequired,
|
quality: PropTypes.object.isRequired,
|
||||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||||
|
|
|
@ -161,7 +161,6 @@ export const actionHandlers = handleThunks({
|
||||||
const episodeFile = data.find((f) => f.id === id);
|
const episodeFile = data.find((f) => f.id === id);
|
||||||
|
|
||||||
props.qualityCutoffNotMet = episodeFile.qualityCutoffNotMet;
|
props.qualityCutoffNotMet = episodeFile.qualityCutoffNotMet;
|
||||||
props.languageCutoffNotMet = episodeFile.languageCutoffNotMet;
|
|
||||||
props.languages = file.languages;
|
props.languages = file.languages;
|
||||||
props.quality = file.quality;
|
props.quality = file.quality;
|
||||||
props.releaseGroup = file.releaseGroup;
|
props.releaseGroup = file.releaseGroup;
|
||||||
|
|
Loading…
Reference in New Issue