Skip to content

Modular logistics and supply chain operating system (LSOS)

hotfix notification read event trigger

Ronald A. Richardsonc54d75fa0f1e
diff --git a/console/app/controllers/console/notifications.js b/console/app/controllers/console/notifications.js
index bf75e00f..7d06ad1d 100644
--- a/console/app/controllers/console/notifications.js
+++ b/console/app/controllers/console/notifications.js
@@ -129,6 +129,7 @@ export default class NotificationsController extends Controller {
@action markNotificationAsRead(notification) {
return notification.markAsRead().then(() => {
this.notifications.info('Notification marked as read.');
+ this.universe.trigger('notifications.read', [notification]);
});
}
}