Handle notifications without an eventId
This commit is contained in:
@@ -69,6 +69,8 @@ angular.module('Application').controller('NotificationsController', ['$scope', '
|
||||
};
|
||||
|
||||
$scope.notificationExpanding = function (notification) {
|
||||
if (!notification.eventId) return;
|
||||
|
||||
notification.busyLoadEvent = true;
|
||||
|
||||
Client.getEvent(notification.eventId, function (error, result) {
|
||||
|
||||
Reference in New Issue
Block a user