From d0360fb6ac154653258f98e3eff36e3790cfe820 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 29 Jan 2024 18:25:57 +0900 Subject: [PATCH] Update MkNotification.vue --- .../src/components/MkNotification.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 8c20dd144a57..fb2a93880e50 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only [$style.t_quote]: notification.type === 'quote', [$style.t_pollEnded]: notification.type === 'pollEnded', [$style.t_achievementEarned]: notification.type === 'achievementEarned', - [$style.t_roleAssigned]: notification.type === 'roleAssigned' && notification.role?.iconUrl == null, + [$style.t_roleAssigned]: notification.type === 'roleAssigned' && notification.role.iconUrl == null, }]" > @@ -66,33 +66,33 @@ SPDX-License-Identifier: AGPL-3.0-only
- + - + - + - + - + - + - + - +
- {{ notification.role?.name }} + {{ notification.role.name }}
{{ i18n.ts._achievements._types['_' + notification.achievement].title }}