mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Fixed notificaitons.displayDelayed()
throwing an error
no issue - `notifications.displayDelayed()` resets the `delayedNotifications` array but it wasn't using `.set()` which was throwing an Ember error because it wouldn't be tracked
This commit is contained in:
parent
162cbae3f0
commit
d7b464a7ff
@ -149,7 +149,7 @@ export default Service.extend({
|
||||
this.delayedNotifications.forEach((message) => {
|
||||
this.content.pushObject(message);
|
||||
});
|
||||
this.delayedNotifications = [];
|
||||
this.set('delayedNotifications', []);
|
||||
},
|
||||
|
||||
closeNotification(notification) {
|
||||
|
Loading…
Reference in New Issue
Block a user