Update view after change is made to activities

pull/3913/head
Alex Dik 9 years ago
parent 0664e11d21
commit 502c5b0ba6
  1. 4
      frontend/app/components/wp-panels/activity-panel/activity-panel.controller.js

@ -44,6 +44,8 @@ function ActivityPanelController($scope, wpActivity, PathHelper){
wpActivity.aggregateActivities(vm.workPackage);
$scope.$on('workPackageRefreshed', function () {
wpActivity.aggregateActivities(vm.workPackage);
$scope.$applyAsync(function () {
wpActivity.aggregateActivities(vm.workPackage);
});
});
}

Loading…
Cancel
Save