Fixed sidebar notifications

4.x.x
Rasika Perera 8 years ago
parent 6470e8e3d2
commit 73ab6f28c1

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

Loading…
Cancel
Save