From f9f44aec7af5fb3f53b21d6415aeed04adb6fc0a Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 14 Aug 2023 22:09:49 -0500 Subject: [PATCH] Fixed: Creating new Delay Profile Fixes #8077 Co-Authored-By: Mark McDowall --- .../src/Settings/Profiles/Delay/EditDelayProfileModalContent.js | 2 ++ .../Profiles/Delay/EditDelayProfileModalContentConnector.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js index 6d16e392a..8f2a0ba9e 100644 --- a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js +++ b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js @@ -242,6 +242,8 @@ const delayProfileShape = { usenetDelay: PropTypes.shape(numberSettingShape).isRequired, torrentDelay: PropTypes.shape(numberSettingShape).isRequired, bypassIfHighestQuality: PropTypes.shape(boolSettingShape).isRequired, + bypassIfAboveCustomFormatScore: PropTypes.shape(boolSettingShape).isRequired, + minimumCustomFormatScore: PropTypes.shape(numberSettingShape).isRequired, order: PropTypes.shape(numberSettingShape), tags: PropTypes.shape(tagSettingShape).isRequired }; diff --git a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContentConnector.js b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContentConnector.js index b50be16e6..a1e3d85a1 100644 --- a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContentConnector.js +++ b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContentConnector.js @@ -14,6 +14,8 @@ const newDelayProfile = { usenetDelay: 0, torrentDelay: 0, bypassIfHighestQuality: false, + bypassIfAboveCustomFormatScore: false, + minimumCustomFormatScore: 0, tags: [] };