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,
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
};

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

Loading…
Cancel
Save