From b646386e77706031d8a198884205a5b5fada696f Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 24 Mar 2025 12:56:30 +0200 Subject: [PATCH] Update state with the filtered movie file languages Due to filtering the languages in /moviefile/bulk to not allow Any or Original, we're updating the state with the actual languages returned by the API. --- frontend/src/Store/Actions/movieFileActions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/Store/Actions/movieFileActions.js b/frontend/src/Store/Actions/movieFileActions.js index 3567da0d9f..d4720a34bb 100644 --- a/frontend/src/Store/Actions/movieFileActions.js +++ b/frontend/src/Store/Actions/movieFileActions.js @@ -271,11 +271,11 @@ export const actionHandlers = handleThunks({ props.qualityCutoffNotMet = movieFile.qualityCutoffNotMet; props.customFormats = movieFile.customFormats; props.customFormatScore = movieFile.customFormatScore; + props.languages = movieFile.languages; + props.quality = movieFile.quality; props.edition = movieFile.edition; - props.languages = file.languages; - props.quality = file.quality; - props.releaseGroup = file.releaseGroup; - props.indexerFlags = file.indexerFlags; + props.releaseGroup = movieFile.releaseGroup; + props.indexerFlags = movieFile.indexerFlags; return updateItem({ section,