mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
♻️ Re-implement changes
This commit is contained in:
@@ -321,8 +321,19 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(form.values.type === 'Deluge' || form.values.type === 'Transmission') && (
|
{(form.values.type === 'Deluge' ||
|
||||||
|
form.values.type === 'Transmission' ||
|
||||||
|
form.values.type === 'qBittorrent') && (
|
||||||
<>
|
<>
|
||||||
|
<TextInput
|
||||||
|
label="Username"
|
||||||
|
placeholder="admin"
|
||||||
|
value={form.values.username}
|
||||||
|
onChange={(event) => {
|
||||||
|
form.setFieldValue('username', event.currentTarget.value);
|
||||||
|
}}
|
||||||
|
error={form.errors.username && 'Invalid username'}
|
||||||
|
/>
|
||||||
<TextInput
|
<TextInput
|
||||||
label="Password"
|
label="Password"
|
||||||
placeholder="password"
|
placeholder="password"
|
||||||
|
|||||||
Reference in New Issue
Block a user