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 e5f60f6 commit 7091ec6Copy full SHA for 7091ec6
app/composables/useGlobalSearch.ts
@@ -26,6 +26,7 @@ export function useGlobalSearch() {
26
urlQuery => {
27
const value = normalizeSearchParam(urlQuery)
28
if (!value) searchQuery.value = ''
29
+ if (!searchQuery.value) searchQuery.value = value
30
},
31
)
32
const updateUrlQueryImpl = (value: string, provider: 'npm' | 'algolia') => {
0 commit comments