Fixed sidebar notifications

This commit is contained in:
Rasika Perera 2017-06-13 00:40:10 +05:30
parent 6470e8e3d2
commit 73ab6f28c1

View File

@ -98,6 +98,7 @@ function loadNewNotifications() {
var responsePayload = JSON.parse(data);
if (responsePayload.notifications) {
viewModel.context = context;
viewModel.notifications = responsePayload.notifications;
if (responsePayload.count > 0) {
$(messageSideBar).html(template(viewModel));