mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
Movie file is optional on movie resources
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user