feat(downloadclients): Porla support preset (#978)

* Correctly omit download/upload limits

* Prefix JWT correctly

* Allow setting Porla preset
This commit is contained in:
Viktor Elofsson 2023-06-14 19:51:34 +02:00 committed by GitHub
parent 956225c108
commit 3d9839d234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 27 deletions

View file

@ -476,6 +476,15 @@ const TypeForm = ({ action, idx, clients }: TypeFormProps) => {
</div>
</div>
<div className="mt-6 grid grid-cols-12 gap-6">
<TextField
name={`actions.${idx}.label`}
label="Preset"
columns={6}
placeholder="eg. default"
tooltip={<div>A case-sensitive preset name as configured in Porla.</div>} />
</div>
<CollapsableSection title="Rules" subtitle="client options">
<div className="col-span-12">
<div className="mt-6 grid grid-cols-12 gap-6">