mirror of
https://github.com/Radarr/Radarr
synced 2026-05-08 19:30:23 +02:00
Movie file is optional on movie resources
This commit is contained in:
parent
ae5450f75d
commit
b0024b28a5
2 changed files with 14 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ import styles from './MovieIndexProgressBar.css';
|
||||||
|
|
||||||
interface MovieIndexProgressBarProps {
|
interface MovieIndexProgressBarProps {
|
||||||
movieId: number;
|
movieId: number;
|
||||||
movieFile: MovieFile;
|
movieFile?: MovieFile;
|
||||||
monitored: boolean;
|
monitored: boolean;
|
||||||
status: MovieStatus;
|
status: MovieStatus;
|
||||||
hasFile: boolean;
|
hasFile: boolean;
|
||||||
|
|
@ -24,20 +24,18 @@ interface MovieIndexProgressBarProps {
|
||||||
isStandAlone?: boolean;
|
isStandAlone?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
function MovieIndexProgressBar(props: MovieIndexProgressBarProps) {
|
function MovieIndexProgressBar({
|
||||||
const {
|
movieId,
|
||||||
movieId,
|
movieFile,
|
||||||
movieFile,
|
monitored,
|
||||||
monitored,
|
status,
|
||||||
status,
|
hasFile,
|
||||||
hasFile,
|
isAvailable,
|
||||||
isAvailable,
|
width,
|
||||||
width,
|
detailedProgressBar,
|
||||||
detailedProgressBar,
|
bottomRadius,
|
||||||
bottomRadius,
|
isStandAlone,
|
||||||
isStandAlone,
|
}: MovieIndexProgressBarProps) {
|
||||||
} = props;
|
|
||||||
|
|
||||||
const queueDetails: MovieQueueDetails = useSelector(
|
const queueDetails: MovieQueueDetails = useSelector(
|
||||||
createMovieQueueItemsDetailsSelector(movieId)
|
createMovieQueueItemsDetailsSelector(movieId)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ interface Movie extends ModelBase {
|
||||||
statistics?: Statistics;
|
statistics?: Statistics;
|
||||||
tags: number[];
|
tags: number[];
|
||||||
images: Image[];
|
images: Image[];
|
||||||
movieFile: MovieFile;
|
movieFile?: MovieFile;
|
||||||
hasFile: boolean;
|
hasFile: boolean;
|
||||||
grabbed?: boolean;
|
grabbed?: boolean;
|
||||||
lastSearchTime?: string;
|
lastSearchTime?: string;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue