summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNotification.vue
diff options
context:
space:
mode:
authortaichan <40626578+taichanNE30@users.noreply.github.com>2023-09-24 07:54:58 +0900
committerGitHub <noreply@github.com>2023-09-24 07:54:58 +0900
commited53b5f9bc1612caa165f50db1058d002364dd0f (patch)
tree65e6b16c0ea82cd70a96302c9feeb6f1f1d06c55 /packages/frontend/src/components/MkNotification.vue
parentimprove moderation log (diff)
downloadmisskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.tar.gz
misskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.tar.bz2
misskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.zip
fix: ノート通知で絵文字が使われている名前が絵文字で表示されない #11877 (#11878)
Diffstat (limited to 'packages/frontend/src/components/MkNotification.vue')
-rw-r--r--packages/frontend/src/components/MkNotification.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue
index 99443a6409..7ba102fd97 100644
--- a/packages/frontend/src/components/MkNotification.vue
+++ b/packages/frontend/src/components/MkNotification.vue
@@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.tail">
<header :class="$style.header">
<span v-if="notification.type === 'pollEnded'">{{ i18n.ts._notification.pollEnded }}</span>
- <span v-else-if="notification.type === 'note'">{{ i18n.ts._notification.newNote }}: {{ notification.note.user.name ?? notification.note.user.username }}</span>
+ <span v-else-if="notification.type === 'note'">{{ i18n.ts._notification.newNote }}: <MkUserName :user="notification.note.user"/></span>
<span v-else-if="notification.type === 'achievementEarned'">{{ i18n.ts._notification.achievementEarned }}</span>
<span v-else-if="notification.type === 'test'">{{ i18n.ts._notification.testNotification }}</span>
<MkA v-else-if="notification.user" v-user-preview="notification.user.id" :class="$style.headerName" :to="userPage(notification.user)"><MkUserName :user="notification.user"/></MkA>