mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fix: Movie file count in footer and update movie legend colors
This commit is contained in:
parent
15b63778e5
commit
1875391a3a
@ -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
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user