enhance(backend): notify new login (#14673)
* wip * Update CHANGELOG.md * wip * fix * Update index.d.ts * Update SigninService.ts * Update MkNotification.vue
This commit is contained in:
parent
d3e2b59f53
commit
83db116c46
13 changed files with 77 additions and 13 deletions
|
|
@ -210,6 +210,12 @@ async function composeNotification(data: PushNotificationDataMap[keyof PushNotif
|
|||
tag: `achievement:${data.body.achievement}`,
|
||||
}];
|
||||
|
||||
case 'login':
|
||||
return [i18n.ts._notification.login, {
|
||||
badge: iconUrl('login-2'),
|
||||
data,
|
||||
}];
|
||||
|
||||
case 'exportCompleted': {
|
||||
const entityName = {
|
||||
antenna: i18n.ts.antennas,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue