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

New: Monitor New Seasons column for series list

Closes #7311
This commit is contained in:
Mark McDowall
2024-11-03 14:01:15 -08:00
committed by Mark McDowall
parent 832de3e75e
commit a77bf64352
6 changed files with 35 additions and 0 deletions
@@ -148,6 +148,12 @@
flex: 0 0 145px;
}
.monitorNewItems {
composes: cell;
flex: 0 0 175px;
}
.actions {
composes: cell;
@@ -14,6 +14,7 @@ interface CssExports {
'genres': string;
'latestSeason': string;
'link': string;
'monitorNewItems': string;
'network': string;
'nextAiring': string;
'originalLanguage': string;
@@ -55,6 +55,7 @@ function SeriesIndexRow(props: SeriesIndexRowProps) {
const {
title,
monitored,
monitorNewItems,
status,
path,
titleSlug,
@@ -450,6 +451,16 @@ function SeriesIndexRow(props: SeriesIndexRowProps) {
);
}
if (name === 'monitorNewItems') {
return (
<VirtualTableRowCell key={name} className={styles[name]}>
{monitorNewItems === 'all'
? translate('SeasonsMonitoredAll')
: translate('SeasonsMonitoredNone')}
</VirtualTableRowCell>
);
}
if (name === 'actions') {
return (
<VirtualTableRowCell key={name} className={styles[name]}>
@@ -109,6 +109,12 @@
flex: 0 0 145px;
}
.monitorNewItems {
composes: headerCell from '~Components/Table/VirtualTableHeaderCell.css';
flex: 0 0 175px;
}
.actions {
composes: headerCell from '~Components/Table/VirtualTableHeaderCell.css';
@@ -10,6 +10,7 @@ interface CssExports {
'episodeProgress': string;
'genres': string;
'latestSeason': string;
'monitorNewItems': string;
'network': string;
'nextAiring': string;
'originalLanguage': string;