forked from FoundKeyGang/FoundKey
client: fix undefined variable when searching for handle
This commit is contained in:
parent
d0c504ec85
commit
f9ba3ab996
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ async function search(): void {
|
|||
query = query.trim();
|
||||
// process special query strings
|
||||
if (query.startsWith('@') && !query.includes(' ')) {
|
||||
mainRouter.push('/' + q);
|
||||
mainRouter.push('/' + query);
|
||||
} else if (query.startsWith('#')) {
|
||||
mainRouter.push('/tags/' + encodeURIComponent(query.slice(1)));
|
||||
} else if (query.startsWith('https://')) {
|
||||
|
|
Loading…
Reference in a new issue