This commit is contained in:
Tom Moor
2017-05-26 00:04:13 -07:00
parent c0b85a643c
commit e3b2fcf8c9
6 changed files with 56 additions and 90 deletions

View File

@ -9,5 +9,6 @@ export function newCollectionUrl() {
}
export function searchUrl(query: string) {
return `/search/${query}`;
if (query) return `/search/${query}`;
return `/search`;
}