We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b283763 commit c1ccdceCopy full SHA for c1ccdce
app/components/Header/SearchBox.vue
@@ -66,6 +66,7 @@ function handleSearchFocus() {
66
function handleSubmit() {
67
const query = searchQuery.value.trim()
68
if (pagesWithLocalFilter.has(route.name)) {
69
+ if (!query) return
70
router.push({
71
name: 'search',
72
query: { q: query },
0 commit comments