From c75c54688883461d0e5275f349fba957d992f765 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 8 Nov 2020 21:33:43 -0800 Subject: [PATCH] Fixed: Manual import when quality was selected before episodes Closes #4065 --- frontend/src/Store/Actions/interactiveImportActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Store/Actions/interactiveImportActions.js b/frontend/src/Store/Actions/interactiveImportActions.js index 9d0f9672d..002b0b847 100644 --- a/frontend/src/Store/Actions/interactiveImportActions.js +++ b/frontend/src/Store/Actions/interactiveImportActions.js @@ -170,7 +170,7 @@ export const actionHandlers = handleThunks({ path: item.path, seriesId: item.series.id, season: item.season, - episodeIds: item.episodes.map((e) => e.id), + episodeIds: (item.episodes || []).map((e) => e.id), quality: item.quality, language: item.language, downloadId: item.downloadId