forked from mirror/misskey
enhance(frontend): ユーザー検索からもハッシュタグのページを開けるように
This commit is contained in:
parent
c5d937e807
commit
16021ff3ac
@ -66,6 +66,11 @@ async function search() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (query.startsWith('#') && query.length > 1) {
|
||||||
|
router.push(`/user-tags/${encodeURIComponent(query.substring(1))}`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
userPagination.value = {
|
userPagination.value = {
|
||||||
endpoint: 'users/search',
|
endpoint: 'users/search',
|
||||||
limit: 10,
|
limit: 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user