Skip to content

Commit

Permalink
fix(ui): fix generic webhook edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed Dec 23, 2020
1 parent efcbfe6 commit cc8f54e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default ({ data, history }: Props) => {
<option value="keeper">Keeper</option>
<option value="wallabag">Wallabag</option>
</FormSelectField>
{formState.values.provider === 'generic' && <GenericConfigForm onChange={setConfig} />}
{formState.values.provider === 'generic' && <GenericConfigForm onChange={setConfig} config={config} />}
{formState.values.provider === 'keeper' && <KeeperConfigForm onChange={setConfig} config={config} />}
{formState.values.provider === 'wallabag' && <WallabagConfigForm onChange={setConfig} config={config} />}
<FormCheckboxField label="To use by default" {...checkbox('is_default')} />
Expand Down

0 comments on commit cc8f54e

Please sign in to comment.