Skip to content

Commit

Permalink
Merge pull request #2175 from bakdata/feature/fix-form-config-submit
Browse files Browse the repository at this point in the history
Fix form config saver submit
  • Loading branch information
Kadrian authored Oct 30, 2021
2 parents c59e249 + 256ae69 commit a476e46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/mock-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ module.exports = function (app, port) {
},
},
groups: [],
hideLogoutButton: false,
});
});

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/js/external-forms/form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const Form = memo(({ config, availableDatasets }: Props) => {
const activeLang = useActiveLang();

return (
<form>
<div>
{config.description && config.description[activeLang] && (
<SxFormHeader description={config.description[activeLang]!} />
)}
Expand All @@ -167,7 +167,7 @@ const Form = memo(({ config, availableDatasets }: Props) => {
/>
);
})}
</form>
</div>
);
});

Expand Down

0 comments on commit a476e46

Please sign in to comment.