|
|
|
@ -6,6 +6,7 @@ import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellCo
|
|
|
|
|
import TableRow from 'Components/Table/TableRow';
|
|
|
|
|
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
|
|
|
|
import TableSelectCell from 'Components/Table/Cells/TableSelectCell';
|
|
|
|
|
import EpisodeLanguage from 'Episode/EpisodeLanguage';
|
|
|
|
|
import EpisodeQuality from 'Episode/EpisodeQuality';
|
|
|
|
|
import styles from './EpisodeFileEditorRow';
|
|
|
|
|
|
|
|
|
@ -20,6 +21,8 @@ function EpisodeFileEditorRow(props) {
|
|
|
|
|
airDateUtc,
|
|
|
|
|
language,
|
|
|
|
|
quality,
|
|
|
|
|
qualityCutoffNotMet,
|
|
|
|
|
languageCutoffNotMet,
|
|
|
|
|
isSelected,
|
|
|
|
|
onSelectedChange
|
|
|
|
|
} = props;
|
|
|
|
@ -52,14 +55,16 @@ function EpisodeFileEditorRow(props) {
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<TableRowCell>
|
|
|
|
|
<Label>
|
|
|
|
|
{language.name}
|
|
|
|
|
</Label>
|
|
|
|
|
<EpisodeLanguage
|
|
|
|
|
language={language}
|
|
|
|
|
isCutoffNotMet={languageCutoffNotMet}
|
|
|
|
|
/>
|
|
|
|
|
</TableRowCell>
|
|
|
|
|
|
|
|
|
|
<TableRowCell>
|
|
|
|
|
<EpisodeQuality
|
|
|
|
|
quality={quality}
|
|
|
|
|
isCutoffNotMet={qualityCutoffNotMet}
|
|
|
|
|
/>
|
|
|
|
|
</TableRowCell>
|
|
|
|
|
</TableRow>
|
|
|
|
@ -76,6 +81,8 @@ EpisodeFileEditorRow.propTypes = {
|
|
|
|
|
airDateUtc: PropTypes.string.isRequired,
|
|
|
|
|
language: PropTypes.object.isRequired,
|
|
|
|
|
quality: PropTypes.object.isRequired,
|
|
|
|
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
|
|
|
|
languageCutoffNotMet: PropTypes.bool.isRequired,
|
|
|
|
|
isSelected: PropTypes.bool,
|
|
|
|
|
onSelectedChange: PropTypes.func.isRequired
|
|
|
|
|
};
|
|
|
|
|