fix(client): ユーザーのハッシュタグ検索が機能していないのを修正

This commit is contained in:
syuilo
2023-02-22 17:25:33 +09:00
parent 84e2ee220b
commit f0cb587c89
5 changed files with 44 additions and 5 deletions

View File

@ -278,7 +278,7 @@ export default defineComponent({
case 'hashtag': {
return [h(MkA, {
key: Math.random(),
to: this.isNote ? `/tags/${encodeURIComponent(token.props.hashtag)}` : `/explore/tags/${encodeURIComponent(token.props.hashtag)}`,
to: this.isNote ? `/tags/${encodeURIComponent(token.props.hashtag)}` : `/user-tags/${encodeURIComponent(token.props.hashtag)}`,
style: 'color:var(--hashtag);',
}, `#${token.props.hashtag}`)];
}