Clear selection state on close

This commit is contained in:
Matthias 2024-07-20 14:14:14 +02:00
parent 641639448f
commit 243efd8d3d

View File

@ -14,6 +14,14 @@ function fromTemplateApply() {
} }
} }
const selTemplateName = ref<string>(''); const selTemplateName = ref<string>('');
watch(
() => visible.value,
(v) => {
if (v) {
selTemplateName.value = '';
}
},
);
</script> </script>
<template> <template>