Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Add back updateMessageStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthS007 committed Oct 28, 2018
1 parent 444fa0c commit 94d76f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions static/js/layout/controllers/navbar.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@
});
}

function updateMessageStatus(status) {
if (status) {
self.hasNewMessages = status;
} else {
// TODO: handle logic
}
}

function getNotifications() {
User.getNotifications().then(
function success(response) {
Expand Down

0 comments on commit 94d76f3

Please sign in to comment.