Restore API token if expired
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user