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