Skip to content

Commit

Permalink
Update form.js (bcgov#1402)
Browse files Browse the repository at this point in the history
it should be exporting the formSchema and not the formSchema.value, leftover from moving this function to a composable.
  • Loading branch information
jasonchung1871 authored Jun 27, 2024
1 parent 5678ae2 commit 25d99b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/frontend/src/composables/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function exportFormSchema(formName, formSchema, snake) {

const a = document.createElement('a');
a.href = `data:application/json;charset=utf-8,${encodeURIComponent(
JSON.stringify(formSchema.value)
JSON.stringify(formSchema)
)}`;
a.download = `${snek}_schema.json`;
a.style.display = 'none';
Expand Down

0 comments on commit 25d99b8

Please sign in to comment.