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:
Kevin Ansfield 2019-03-25 12:28:14 +00:00
parent 162cbae3f0
commit d7b464a7ff

View File

@ -149,7 +149,7 @@ export default Service.extend({
this.delayedNotifications.forEach((message) => { this.delayedNotifications.forEach((message) => {
this.content.pushObject(message); this.content.pushObject(message);
}); });
this.delayedNotifications = []; this.set('delayedNotifications', []);
}, },
closeNotification(notification) { closeNotification(notification) {