mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 05:39:57 -05:00
Do not need to encode query. Clearing search input when user navigates to dashboard.
This commit is contained in:
parent
47b9d6618c
commit
6409e0ffde
2 changed files with 11 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ export function useSearchSuggestions(defaultSearchStr, defaultTagNames) {
|
|||
title: newSuggestions.fileGroups.toString(),
|
||||
type: 'files',
|
||||
// Add search query onto current location.
|
||||
location: getLocationStr({q: encodeURIComponent(searchStr)}, '/search')
|
||||
location: getLocationStr({q: searchStr}, '/search'),
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue