diff --git a/app/src/components/VideoPlayer.js b/app/src/components/VideoPlayer.js
index 9741510c..05593ca3 100644
--- a/app/src/components/VideoPlayer.js
+++ b/app/src/components/VideoPlayer.js
@@ -251,31 +251,31 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) {
{videoFileLink(video['video_path'])}
Caption Files
- {caption_files &&
+ {caption_files ?
caption_files.map(i =>
{i['path']}
-
)
+ ) : 'No caption files'
}
Poster File
- {poster_file &&
+ {poster_file ?
{poster_file['path']}
-
+ : 'No poster file'
}
Info JSON File
- {info_json_file &&
+ {info_json_file ?
{info_json_file['path']}
-
+ : 'No yt-dlp info json file'
}
ffprobe JSON File
{ffprobeJsonFile ?
{ffprobeJsonFile['path']}
- : 'No file'
+ : 'No ffprobe json file'
}
Directory