Restore API token if expired

This commit is contained in:
2023-01-12 18:14:40 +01:00
parent ee2f371b21
commit b5b35dd44b
6 changed files with 41 additions and 14 deletions

View File

@@ -31,7 +31,9 @@ export class NotificationsService {
}, message.duration ? message.duration : 5000);
// close parent
if (message.parentId) {
this.remove(message.parentId);
setTimeout(() => {
this.remove(message.parentId);
}, 500);
}
return message.id;
}