improve ux

This commit is contained in:
Egor Aristov 2025-02-22 21:41:47 +03:00
parent dc92fdd613
commit af409ac15b

View File

@ -26,12 +26,14 @@ watch(existingLink, async (value) => {
}); });
watch(store.specs, debounce(() => { watch(store.specs, debounce(() => {
if(store.formValid) { if (store.formValid) {
generateLink(); generateLink();
} else { } else {
link.value = ""; link.value = "";
} }
}, 100)); }, 100),
{immediate: true}
);
async function generateLink() { async function generateLink() {
try { try {