From 94d76f3fb8ba7e3c801d9fcf1f7f2579eceaed72 Mon Sep 17 00:00:00 2001 From: Parth Shandilya Date: Sun, 28 Oct 2018 03:13:31 -0500 Subject: [PATCH] Add back updateMessageStatus --- static/js/layout/controllers/navbar.controller.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/js/layout/controllers/navbar.controller.js b/static/js/layout/controllers/navbar.controller.js index b656b8e8..9cd3b5da 100644 --- a/static/js/layout/controllers/navbar.controller.js +++ b/static/js/layout/controllers/navbar.controller.js @@ -42,6 +42,14 @@ }); } + function updateMessageStatus(status) { + if (status) { + self.hasNewMessages = status; + } else { + // TODO: handle logic + } + } + function getNotifications() { User.getNotifications().then( function success(response) {