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

pull/3883/head
geogolem 5 years ago committed by Devin Buhl
parent 15b63778e5
commit 1875391a3a

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

@ -76,7 +76,7 @@ function MovieStatus(props) {
);
}
if (hasMovieFile) {
if (hasMovieFile && monitored) {
const quality = movieFile.quality;
// TODO: Fix on Backend
// const isCutoffNotMet = movieFile.qualityCutoffNotMet;
@ -91,6 +91,19 @@ function MovieStatus(props) {
</Label>
</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) {

Loading…
Cancel
Save