feat(Messages): merge adminMessages into user messages list

This commit is contained in:
OldHawk
2017-06-26 15:08:26 +08:00
parent e664086d65
commit 17315ea569
9 changed files with 211 additions and 65 deletions

View File

@@ -74,7 +74,7 @@
vm.getCountUnread = function () {
if (Authentication.user) {
MessagesService.countUnread(function (data) {
vm.unreadCount = data.countFrom + data.countTo;
vm.unreadCount = data.countFrom + data.countTo + data.countAdmin;
});
}
};