From d4aed7457a428685c3883eca6a1bc14f3352d707 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Thu, 3 Jun 2021 21:34:08 -0400 Subject: [PATCH] Fixed external subtitles were being filtered by show only desired embedded subtitles settings. --- frontend/src/utilites/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }