Fixed: Creating new Delay Profile

(cherry picked from commit 81435dabc7a46e82c34101b4a8fe9120c875d913)
pull/2171/head
Mark McDowall 1 year ago committed by Qstick
parent e03390c8d4
commit 6a2fd3a4e6

@ -219,6 +219,9 @@ const delayProfileShape = {
enableTorrent: PropTypes.shape(boolSettingShape).isRequired,
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
};

@ -13,6 +13,9 @@ const newDelayProfile = {
preferredProtocol: 'usenet',
usenetDelay: 0,
torrentDelay: 0,
bypassIfHighestQuality: false,
bypassIfAboveCustomFormatScore: false,
minimumCustomFormatScore: 0,
tags: []
};

Loading…
Cancel
Save