mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-19 12:14:45 -04: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 {
|
||||
movieId: number;
|
||||
movieFile: MovieFile;
|
||||
movieFile?: MovieFile;
|
||||
monitored: boolean;
|
||||
status: MovieStatus;
|
||||
hasFile: boolean;
|
||||
|
@ -24,20 +24,18 @@ interface MovieIndexProgressBarProps {
|
|||
isStandAlone?: boolean;
|
||||
}
|
||||
|
||||
function MovieIndexProgressBar(props: MovieIndexProgressBarProps) {
|
||||
const {
|
||||
movieId,
|
||||
movieFile,
|
||||
monitored,
|
||||
status,
|
||||
hasFile,
|
||||
isAvailable,
|
||||
width,
|
||||
detailedProgressBar,
|
||||
bottomRadius,
|
||||
isStandAlone,
|
||||
} = props;
|
||||
|
||||
function MovieIndexProgressBar({
|
||||
movieId,
|
||||
movieFile,
|
||||
monitored,
|
||||
status,
|
||||
hasFile,
|
||||
isAvailable,
|
||||
width,
|
||||
detailedProgressBar,
|
||||
bottomRadius,
|
||||
isStandAlone,
|
||||
}: MovieIndexProgressBarProps) {
|
||||
const queueDetails: MovieQueueDetails = useSelector(
|
||||
createMovieQueueItemsDetailsSelector(movieId)
|
||||
);
|
||||
|
|
|
@ -81,7 +81,7 @@ interface Movie extends ModelBase {
|
|||
statistics?: Statistics;
|
||||
tags: number[];
|
||||
images: Image[];
|
||||
movieFile: MovieFile;
|
||||
movieFile?: MovieFile;
|
||||
hasFile: boolean;
|
||||
grabbed?: boolean;
|
||||
lastSearchTime?: string;
|
||||
|
|
Loading…
Add table
Reference in a new issue