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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user