Fixed: Creating new Delay Profile

Fixes #8077

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/9009/head
Qstick 1 year ago
parent 99ff6aa9c4
commit f9f44aec7a

@ -242,6 +242,8 @@ const delayProfileShape = {
usenetDelay: PropTypes.shape(numberSettingShape).isRequired, usenetDelay: PropTypes.shape(numberSettingShape).isRequired,
torrentDelay: PropTypes.shape(numberSettingShape).isRequired, torrentDelay: PropTypes.shape(numberSettingShape).isRequired,
bypassIfHighestQuality: PropTypes.shape(boolSettingShape).isRequired, bypassIfHighestQuality: PropTypes.shape(boolSettingShape).isRequired,
bypassIfAboveCustomFormatScore: PropTypes.shape(boolSettingShape).isRequired,
minimumCustomFormatScore: PropTypes.shape(numberSettingShape).isRequired,
order: PropTypes.shape(numberSettingShape), order: PropTypes.shape(numberSettingShape),
tags: PropTypes.shape(tagSettingShape).isRequired tags: PropTypes.shape(tagSettingShape).isRequired
}; };

@ -14,6 +14,8 @@ const newDelayProfile = {
usenetDelay: 0, usenetDelay: 0,
torrentDelay: 0, torrentDelay: 0,
bypassIfHighestQuality: false, bypassIfHighestQuality: false,
bypassIfAboveCustomFormatScore: false,
minimumCustomFormatScore: 0,
tags: [] tags: []
}; };

Loading…
Cancel
Save