Commit ec8faeafa0
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/Search.vue −7
| @@ -705,13 +705,6 @@ watchDebounced( | ||
| 705 | 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 | 708 | // Dynamic search options based on matchExact toggle |
| 716 | 709 | const dynamicSearchOptions = { |
| 717 | 710 | fuzzy: mode === 'fuzzy' ? (0.3 as number | false) : false, |