From af409ac15bf42c56ab83dcd3af76fcb598e60c07 Mon Sep 17 00:00:00 2001 From: Egor Aristov Date: Sat, 22 Feb 2025 21:41:47 +0300 Subject: [PATCH] improve ux --- frontend/wizard-vue/src/pages/WizardPage.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/wizard-vue/src/pages/WizardPage.vue b/frontend/wizard-vue/src/pages/WizardPage.vue index 2092c14..7c66d58 100644 --- a/frontend/wizard-vue/src/pages/WizardPage.vue +++ b/frontend/wizard-vue/src/pages/WizardPage.vue @@ -26,12 +26,14 @@ watch(existingLink, async (value) => { }); watch(store.specs, debounce(() => { - if(store.formValid) { - generateLink(); - } else { - link.value = ""; - } -}, 100)); + if (store.formValid) { + generateLink(); + } else { + link.value = ""; + } + }, 100), + {immediate: true} +); async function generateLink() { try {