Fixed: Creating new Delay Profile

Closes #5419
This commit is contained in:
Mark McDowall 2023-02-07 17:25:13 -08:00
parent a379d0c403
commit 81435dabc7
2 changed files with 6 additions and 0 deletions

View File

@ -218,6 +218,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
};

View File

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