Commit ec8faeafa0

ec8faeafa01e09fd08de91e30078ffed9a1815d4

parent: da30d3118b

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-06-02 17:16 UTC

Revert "Update Search.vue"

This reverts commit da30d3118b6c5236676a1d788e2493226c2645f8.

Layout: unified · split

docs/.vitepress/theme/components/Search.vue −7
@@ -705,13 +705,6 @@ watchDebounced(
705 return 705 return
706 } 706 }
707 707
708 // Empty query — clear results and show the empty state
709 if (!filterTextValue.trim()) {
710 results.value = []
711 enableNoResults.value = false
712 return
713 }
714
715 // Dynamic search options based on matchExact toggle 708 // Dynamic search options based on matchExact toggle
716 const dynamicSearchOptions = { 709 const dynamicSearchOptions = {
717 fuzzy: mode === 'fuzzy' ? (0.3 as number | false) : false, 710 fuzzy: mode === 'fuzzy' ? (0.3 as number | false) : false,