Skip to content
Snippets Groups Projects
Verified Commit 6876eca6 authored by Soli's avatar Soli Committed by Marie
Browse files

fix(frontend): ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 (misskey-dev#12805) (#12806)

parent 9c17e0f9
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
### Server
- Enhance: センシティブワードの設定がハッシュタグトレンドにも適用されるようになりました
- Fix: 1702718871541-ffVisibility.jsのdownが壊れている
- Fix: ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正
## 2023.12.0
......
......@@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-else-if="notification.type === 'quote'" class="ph-quotes ph-bold ph-lg"></i>
<i v-else-if="notification.type === 'pollEnded'" class="ph-chart-bar-horizontal ph-bold ph-lg"></i>
<i v-else-if="notification.type === 'achievementEarned'" class="ph-trophy ph-bold ph-lg"></i>
<img v-else-if="notification.type === 'roleAssigned'" :src="notification.role.iconUrl" alt=""/>
<img v-else-if="notification.type === 'roleAssigned'" style="height: 1.3em; vertical-align: -22%;" :src="notification.role.iconUrl" alt=""/>
<!-- notification.reaction が null になることはまずないが、ここでoptional chaining使うと一部ブラウザで刺さるので念の為 -->
<MkReactionIcon
v-else-if="notification.type === 'reaction'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment