feat(command-palette): clear prompt on palette close (#708)

This commit is contained in:
Corentin THOMASSET 2023-10-31 20:27:21 +01:00 committed by GitHub
parent 015c673e09
commit d0136962b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ function open() {
function close() { function close() {
isModalOpen.value = false; isModalOpen.value = false;
searchPrompt.value = '';
} }
const selectedOptionIndex = ref(0); const selectedOptionIndex = ref(0);