mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
Fix: Movie file count in footer and update movie legend colors
This commit is contained in:
parent
15b63778e5
commit
1875391a3a
2 changed files with 18 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue