From 87a2af35630f072aa18213f164c25b2dd3999255 Mon Sep 17 00:00:00 2001 From: anthonypetersen Date: Thu, 5 Sep 2024 11:53:16 -0500 Subject: [PATCH] removing reload logic --- questionnaire.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/questionnaire.js b/questionnaire.js index e4416b8..8701595 100644 --- a/questionnaire.js +++ b/questionnaire.js @@ -979,9 +979,7 @@ export async function submitQuestionnaire(store, questName) { formData[`${questName}.COMPLETED`] = true; formData[`${questName}.COMPLETED_TS`] = new Date(); try { - store(formData).then(() => { - location.reload(); - }); + store(formData); } catch (e) { console.log("Store failed", e); }