diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-02-08 20:07:19 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-02-08 20:07:19 +0900 |
| commit | 73f06e591ab1aecd780fd7f1e1181b86c29b3f7e (patch) | |
| tree | 076b9f5f661f1fa960b996d9c96f58bf2dc8beac /packages/frontend/src/components/MkNotification.vue | |
| parent | fix(client): 通知のノート表示で_nowrapが効いていない問題を... (diff) | |
| download | misskey-73f06e591ab1aecd780fd7f1e1181b86c29b3f7e.tar.gz misskey-73f06e591ab1aecd780fd7f1e1181b86c29b3f7e.tar.bz2 misskey-73f06e591ab1aecd780fd7f1e1181b86c29b3f7e.zip | |
revert: 650187deaf
Diffstat (limited to 'packages/frontend/src/components/MkNotification.vue')
| -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 fd055dfb58..e7a951dd27 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -31,7 +31,7 @@ <header :class="$style.header"> <span v-if="notification.type === 'pollEnded'">{{ i18n.ts._notification.pollEnded }}</span> <span v-else-if="notification.type === 'achievementEarned'">{{ i18n.ts._notification.achievementEarned }}</span> - <MkA v-else-if="notification.user" v-user-preview="notification.user.id" :class="$style.headerName" :to="userPage(notification.user)"><span class="_nowrap">{{ notification.user.name ?? notification.user.username }}</span></MkA> + <MkA v-else-if="notification.user" v-user-preview="notification.user.id" :class="$style.headerName" :to="userPage(notification.user)"><MkUserName :user="notification.user"/></MkA> <span v-else>{{ notification.header }}</span> <MkTime v-if="withTime" :time="notification.createdAt" :class="$style.headerTime"/> </header> |