mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49:13 +00:00
feat(clients): override arr download client by name (#1328)
* feat(clients): override arr client by name * feat(clients): add missing file * feat(clients): add section download client arr
This commit is contained in:
parent
45b522abf8
commit
fbabdfb217
22 changed files with 143 additions and 49 deletions
|
@ -70,6 +70,7 @@ export function Actions({ filter, values }: FilterActionsProps) {
|
|||
webhook_data: "",
|
||||
webhook_headers: [],
|
||||
external_download_client_id: 0,
|
||||
external_download_client: "",
|
||||
client_id: 0
|
||||
};
|
||||
|
||||
|
|
|
@ -118,16 +118,29 @@ export const Arr = ({ idx, action, clients }: ClientActionProps) => (
|
|||
</FilterSection.HalfRow>
|
||||
|
||||
<FilterSection.HalfRow>
|
||||
<Input.NumberField
|
||||
name={`actions.${idx}.external_download_client_id`}
|
||||
label="Override download client id for arr"
|
||||
tooltip={
|
||||
<p>
|
||||
Override Download client Id from the one set in Clients. Useful if you
|
||||
have multiple clients inside the arr.
|
||||
</p>
|
||||
}
|
||||
/>
|
||||
<div className="">
|
||||
<Input.TextField
|
||||
name={`actions.${idx}.external_download_client`}
|
||||
label="Override download client name for arr"
|
||||
tooltip={
|
||||
<p>
|
||||
Override Download client name from the one set in Clients. Useful if you
|
||||
have multiple clients inside the arr.
|
||||
</p>
|
||||
}
|
||||
/>
|
||||
<Input.NumberField
|
||||
name={`actions.${idx}.external_download_client_id`}
|
||||
label="Override download client id for arr DEPRECATED"
|
||||
className="mt-4"
|
||||
tooltip={
|
||||
<p>
|
||||
Override Download client Id from the one set in Clients. Useful if you
|
||||
have multiple clients inside the arr.
|
||||
</p>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</FilterSection.HalfRow>
|
||||
</FilterSection.Layout>
|
||||
</FilterSection.Section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue