Creating missing ChannelDownload when importing channels config.

This commit is contained in:
Roland 2024-07-04 19:16:33 -06:00
parent 7a784d7c45
commit 287beabb9c
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
10 changed files with 135 additions and 32 deletions

View file

@ -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'>