1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

New: Custom Format Language Condition

This commit is contained in:
Qstick
2022-08-14 14:07:26 -05:00
parent 52760e0908
commit 89b0b04e08
243 changed files with 1345 additions and 3956 deletions
@@ -30,8 +30,7 @@
flex: 2 0 90px;
}
.qualityProfileId,
.languageProfileId {
.qualityProfileId {
composes: headerCell from '~Components/Table/VirtualTableHeaderCell.css';
flex: 1 0 125px;
@@ -66,8 +66,7 @@
flex: 2 0 90px;
}
.qualityProfileId,
.languageProfileId {
.qualityProfileId {
composes: cell;
flex: 1 0 125px;
@@ -86,7 +86,6 @@ class SeriesIndexRow extends Component {
seriesType,
network,
qualityProfile,
languageProfile,
nextAiring,
previousAiring,
added,
@@ -224,17 +223,6 @@ class SeriesIndexRow extends Component {
);
}
if (name === 'languageProfileId') {
return (
<VirtualTableRowCell
key={name}
className={styles[name]}
>
{languageProfile.name}
</VirtualTableRowCell>
);
}
if (name === 'nextAiring') {
return (
<RelativeDateCellConnector
@@ -525,7 +513,6 @@ SeriesIndexRow.propTypes = {
seriesType: PropTypes.string.isRequired,
network: PropTypes.string,
qualityProfile: PropTypes.object.isRequired,
languageProfile: PropTypes.object.isRequired,
nextAiring: PropTypes.string,
previousAiring: PropTypes.string,
added: PropTypes.string,
@@ -62,7 +62,6 @@ class SeriesIndexTable extends Component {
component={SeriesIndexRow}
columns={columns}
seriesId={series.id}
languageProfileId={series.languageProfileId}
qualityProfileId={series.qualityProfileId}
showBanners={showBanners}
/>
@@ -1,7 +1,6 @@
const growableColumns = [
'network',
'qualityProfileId',
'languageProfileId',
'path',
'tags'
];