mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Fixed: Index UI crash for movies without files
This commit is contained in:
parent
51a583b59b
commit
ff1449c01e
1 changed files with 2 additions and 6 deletions
|
@ -49,14 +49,10 @@ function MovieIndexProgressBar(props: MovieIndexProgressBarProps) {
|
|||
movieStatus = 'Missing';
|
||||
|
||||
if (hasFile) {
|
||||
const quality = movieFile.quality;
|
||||
|
||||
movieStatus = quality.quality.name;
|
||||
movieStatus = movieFile?.quality?.quality.name ?? 'Downloaded';
|
||||
}
|
||||
} else if (hasFile) {
|
||||
const quality = movieFile.quality;
|
||||
|
||||
movieStatus = quality.quality.name;
|
||||
movieStatus = movieFile?.quality?.quality.name ?? 'Downloaded';
|
||||
} else if (isAvailable && !hasFile) {
|
||||
movieStatus = 'Missing';
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue