reduce changes in MkNotification.vue
This commit is contained in:
parent
9d6a667710
commit
1e3520ad6d
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
[$style.t_achievementEarned]: notification.type === 'achievementEarned',
|
||||
[$style.t_exportCompleted]: notification.type === 'exportCompleted',
|
||||
[$style.t_importCompleted]: notification.type === 'importCompleted',
|
||||
[$style.t_login]: ['login', 'sharedAccessGranted', 'sharedAccessRevoked', 'sharedAccessLogin'].includes(notification.type),
|
||||
[$style.t_login]: notification.type === 'login',
|
||||
[$style.t_login]: ['sharedAccessGranted', 'sharedAccessRevoked', 'sharedAccessLogin'].includes(notification.type),
|
||||
[$style.t_createToken]: notification.type === 'createToken',
|
||||
[$style.t_chatRoomInvitationReceived]: notification.type === 'chatRoomInvitationReceived',
|
||||
[$style.t_roleAssigned]: notification.type === 'roleAssigned' && notification.role.iconUrl == null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue