From d7b464a7ff8f1c06314d1145805a1d5f4543a589 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 25 Mar 2019 12:28:14 +0000 Subject: [PATCH] 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 --- ghost/admin/app/services/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/services/notifications.js b/ghost/admin/app/services/notifications.js index 118e7e534d..6c92af3b00 100644 --- a/ghost/admin/app/services/notifications.js +++ b/ghost/admin/app/services/notifications.js @@ -149,7 +149,7 @@ export default Service.extend({ this.delayedNotifications.forEach((message) => { this.content.pushObject(message); }); - this.delayedNotifications = []; + this.set('delayedNotifications', []); }, closeNotification(notification) {