diff options
author | morpheus65535 <[email protected]> | 2021-06-03 21:34:08 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-06-03 21:34:08 -0400 |
commit | d4aed7457a428685c3883eca6a1bc14f3352d707 (patch) | |
tree | 22ccee66c902d581aed112485c08fad2bfd52649 | |
parent | d562faf15149a51c885a9a09fda02dc2b284ab84 (diff) | |
download | bazarr-d4aed7457a428685c3883eca6a1bc14f3352d707.tar.gz bazarr-d4aed7457a428685c3883eca6a1bc14f3352d707.zip |
Fixed external subtitles were being filtered by show only desired embedded subtitles settings.
-rw-r--r-- | frontend/src/utilites/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/utilites/index.ts b/frontend/src/utilites/index.ts index f41f6e566..2bf8952f7 100644 --- a/frontend/src/utilites/index.ts +++ b/frontend/src/utilites/index.ts @@ -115,7 +115,7 @@ export function filterSubtitleBy( const result = differenceWith( subtitles, languages, - (a, b) => a.code2 === b.code2 + (a, b) => a.code2 === b.code2 || a.path !== null ); return difference(subtitles, result); } |