mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
Merge pull request #497 from jonjon1123/nzbget-download-client-merge
✨ Add NZBGet download client
This commit is contained in:
@@ -407,6 +407,42 @@ export function AddAppShelfItemForm(props: AddAppShelfItemFormProps) {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{form.values.type === 'NZBGet' && (
|
||||
<>
|
||||
<TextInput
|
||||
label={t('modal.tabs.options.form.integrations.nzbget.username.label')}
|
||||
placeholder={t(
|
||||
'modal.tabs.options.form.integrations.nzbget.username.placeholder'
|
||||
)}
|
||||
value={form.values.username}
|
||||
onChange={(event) => {
|
||||
form.setFieldValue('username', event.currentTarget.value);
|
||||
}}
|
||||
error={
|
||||
form.errors.username &&
|
||||
t(
|
||||
'modal.tabs.options.form.integrations.nzbget.username.validation.invalidUsername'
|
||||
)
|
||||
}
|
||||
/>
|
||||
<PasswordInput
|
||||
label={t('modal.tabs.options.form.integrations.nzbget.password.label')}
|
||||
placeholder={t(
|
||||
'modal.tabs.options.form.integrations.nzbget.password.placeholder'
|
||||
)}
|
||||
value={form.values.password}
|
||||
onChange={(event) => {
|
||||
form.setFieldValue('password', event.currentTarget.value);
|
||||
}}
|
||||
error={
|
||||
form.errors.password &&
|
||||
t(
|
||||
'modal.tabs.options.form.integrations.nzbget.password.validation.invalidPassword'
|
||||
)
|
||||
}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</Stack>
|
||||
</Tabs.Panel>
|
||||
<Tabs.Panel value="Advanced Options">
|
||||
|
||||
Reference in New Issue
Block a user