1
0
forked from mirror/misskey

enhance(frontend): ユーザー検索からもハッシュタグのページを開けるように

This commit is contained in:
Sayamame-beans 2024-05-22 00:13:09 +09:00
parent c5d937e807
commit 16021ff3ac

View File

@ -66,6 +66,11 @@ async function search() {
return;
}
if (query.startsWith('#') && query.length > 1) {
router.push(`/user-tags/${encodeURIComponent(query.substring(1))}`);
return;
}
userPagination.value = {
endpoint: 'users/search',
limit: 10,