1
0
forked from mirror/misskey

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

This commit is contained in:
Sayamame-beans 2024-05-21 22:21:05 +09:00
parent c69de6b48c
commit 04c0e081c4

View File

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