1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 20:12:41 +02:00

Fix: Movie file count in footer and update movie legend colors

This commit is contained in:
geogolem 2019-11-15 19:23:33 -05:00 committed by Devin Buhl
parent 15b63778e5
commit 1875391a3a
2 changed files with 18 additions and 3 deletions

View File

@ -13,14 +13,16 @@ function createUnoptimizedSelector() {
monitored, monitored,
status, status,
statistics, statistics,
sizeOnDisk sizeOnDisk,
hasFile
} = s; } = s;
return { return {
monitored, monitored,
status, status,
statistics, statistics,
sizeOnDisk sizeOnDisk,
hasFile
}; };
}); });
} }

View File

@ -76,7 +76,7 @@ function MovieStatus(props) {
); );
} }
if (hasMovieFile) { if (hasMovieFile && monitored) {
const quality = movieFile.quality; const quality = movieFile.quality;
// TODO: Fix on Backend // TODO: Fix on Backend
// const isCutoffNotMet = movieFile.qualityCutoffNotMet; // const isCutoffNotMet = movieFile.qualityCutoffNotMet;
@ -91,6 +91,19 @@ function MovieStatus(props) {
</Label> </Label>
</div> </div>
); );
} else if (hasMovieFile && !monitored) {
const quality = movieFile.quality;
return (
<div className={styles.center}>
<Label
kind={kinds.DISABLED}
title={getTooltip('Movie Downloaded', quality, movieFile.size)}
>
{quality.quality.name}
</Label>
</div>
);
} }
if (!inCinemas) { if (!inCinemas) {