diff options
| author | taichan <40626578+taichanNE30@users.noreply.github.com> | 2023-09-24 07:54:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-24 07:54:58 +0900 |
| commit | ed53b5f9bc1612caa165f50db1058d002364dd0f (patch) | |
| tree | 65e6b16c0ea82cd70a96302c9feeb6f1f1d06c55 | |
| parent | improve moderation log (diff) | |
| download | misskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.tar.gz misskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.tar.bz2 misskey-ed53b5f9bc1612caa165f50db1058d002364dd0f.zip | |
fix: ノート通知で絵文字が使われている名前が絵文字で表示されない #11877 (#11878)
| -rw-r--r-- | packages/frontend/src/components/MkNotification.vue | 2 |
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> |