Skip to content

Commit 7fe92f7

Browse files
committed
fix: correct keywords passing to search query
1 parent 391a327 commit 7fe92f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/composables/useGlobalSearchQuery.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export function useGlobalSearchQuery() {
1010
urlQuery => {
1111
const value = normalizeSearchParam(urlQuery)
1212
if (!value) searchQuery.value = ''
13+
if (!searchQuery.value) searchQuery.value = value
1314
},
1415
)
1516
return searchQuery

0 commit comments

Comments
 (0)