mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
crash
case after use settings to default and open info on torrent crash with "Cannot read properties of undefined (reading 'length')"
This commit is contained in:
@@ -26,7 +26,7 @@ const Table = memo(
|
||||
const fileHasResolutionText = !!playableFileList?.find(({ path }) => ptt.parse(path).resolution)
|
||||
|
||||
// if files in list is more then 1 and no season text detected by ptt.parse, show full name
|
||||
const shouldDisplayFullFileName = playableFileList.length > 1 && !fileHasEpisodeText
|
||||
const shouldDisplayFullFileName = playableFileList?.length > 1 && !fileHasEpisodeText
|
||||
|
||||
const isVlcUsed = JSON.parse(localStorage.getItem('isVlcUsed')) ?? true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user