From 5099e43dee279eb8d7e266086bbc1f8c867002fc Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 18 Oct 2024 13:30:48 +0700 Subject: [PATCH] feat: change mode on reset --- src/pages/05_quotation/form.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index 18c20d44..e9e9374c 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -93,6 +93,8 @@ export const useQuotationForm = defineStore('form-quotation', () => { } currentFormData.value = structuredClone(resetFormData); + + currentFormState.value.mode = 'info'; } async function assignFormData(