mirror of
https://github.com/fergalmoran/dss.web.git
synced 2026-02-14 20:16:55 +00:00
Added safe apply
This commit is contained in:
@@ -38,8 +38,8 @@ angular.module('dssWebApp')
|
||||
});
|
||||
scope.$on(MESSAGE_EVENTS.broadcast, function (message) {
|
||||
getNotifications(scope)
|
||||
.then(function(){
|
||||
scope.$apply();
|
||||
.then(function () {
|
||||
$rootScope.safeApply();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user