1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Include indexer flags to show the correct custom formats in movie file history

This commit is contained in:
Bogdan
2023-09-06 11:56:28 +03:00
parent 58e0b19d06
commit 1865257544
5 changed files with 36 additions and 31 deletions
@@ -269,17 +269,19 @@ export const actionHandlers = handleThunks({
promise.done((data) => {
dispatch(batchActions([
...movieFileIds.map((id) => {
const props = {};
const movieFile = data.find((file) => file.id === id);
props.qualityCutoffNotMet = movieFile.qualityCutoffNotMet;
const props = {
customFormats: movieFile.customFormats,
customFormatScore: movieFile.customFormatScore,
qualityCutoffNotMet: movieFile.qualityCutoffNotMet
};
if (languages) {
props.languages = languages;
}
if (indexerFlags) {
if (indexerFlags !== undefined) {
props.indexerFlags = indexerFlags;
}