forked from mirror/misskey
fix(frontend): 照会で入力が#
のみの場合は/tags/
に遷移しないように
This commit is contained in:
parent
04c0e081c4
commit
f54f0398c1
@ -23,7 +23,7 @@ export async function lookup(router?: Router) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (query.startsWith('#')) {
|
||||
if (query.startsWith('#') && query.length > 1) {
|
||||
_router.push(`/tags/${encodeURIComponent(query.substring(1))}`);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user