From 25d99b86ad6ba7b8dfb801f90c5e1aaf136ab413 Mon Sep 17 00:00:00 2001 From: jasonchung1871 <101672465+jasonchung1871@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:19:27 -0700 Subject: [PATCH] Update form.js (#1402) it should be exporting the formSchema and not the formSchema.value, leftover from moving this function to a composable. --- app/frontend/src/composables/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/src/composables/form.js b/app/frontend/src/composables/form.js index f0c90b910..c62395b20 100644 --- a/app/frontend/src/composables/form.js +++ b/app/frontend/src/composables/form.js @@ -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';