mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 23:46:18 -05:00
Creating missing ChannelDownload when importing channels config.
This commit is contained in:
parent
7a784d7c45
commit
287beabb9c
10 changed files with 135 additions and 32 deletions
|
|
@ -117,6 +117,7 @@ export function DownloadEditForm({afterSave, closeModal, download}) {
|
|||
url: download.url || '',
|
||||
frequency: download.frequency,
|
||||
excluded_urls: download.settings ? download.settings.excluded_urls : '',
|
||||
destination: download.settings ? download.settings.destination : '',
|
||||
})
|
||||
const [disabled, setDisabled] = React.useState(useWROLMode());
|
||||
const [loading, setLoading] = React.useState(false);
|
||||
|
|
@ -220,6 +221,15 @@ export function DownloadEditForm({afterSave, closeModal, download}) {
|
|||
onChange={handleInputChange}
|
||||
/>
|
||||
</Grid.Column>
|
||||
<Grid.Column>
|
||||
<FormInput
|
||||
label='Destination'
|
||||
name='destination'
|
||||
type='text'
|
||||
value={state.destination}
|
||||
onChange={handleInputChange}
|
||||
/>
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
<Grid.Row columns={1}>
|
||||
<Grid.Column textAlign='right'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue