Fix activity-link registry

pull/4605/head
Oliver Günther 8 years ago
parent dc98df84c1
commit 135353d5b2
  1. 8
      frontend/app/components/wp-activity/activity-link-directive.js

@ -1,4 +1,4 @@
module.exports = function() {
function activityLink() {
return {
restrict: 'E',
templateUrl: '/templates/work_packages/activities/_link.html',
@ -13,4 +13,8 @@ module.exports = function() {
scope.activityHtmlId = 'activity-' + scope.activityNo;
}
};
};
}
angular
.module('openproject.workPackages.activities')
.directive('activityLink', activityLink);

Loading…
Cancel
Save