feat(downloadclients): qBit rules add speed threshold condition (#652)

* fix: qbit add rules min check

* feat(downloadclients): add check condition

* feat(downloadclient): return on rejection
This commit is contained in:
ze0s 2023-01-17 23:34:03 +01:00 committed by GitHub
parent 4ae2773dc9
commit a6c1944df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 194 additions and 34 deletions

View file

@ -403,6 +403,18 @@ export const downloadsPerUnitOptions: OptionBasic[] = [
}
];
export const DownloadRuleConditionOptions: OptionBasic[] = [
{
label: "Always",
value: "ALWAYS"
},
{
label: "Max downloads reached",
value: "MAX_DOWNLOADS_REACHED"
}
];
export interface SelectOption {
label: string;
description: string;