Move WP table service to components

pull/3898/head
Alex Dik 9 years ago
parent 1b7a63bbcf
commit 6363bcb89e
  1. 8
      frontend/app/components/work-packages/services/wp-table.service.js
  2. 6
      frontend/app/work_packages/services/index.js

@ -26,7 +26,11 @@
// See doc/COPYRIGHT.rdoc for more details.
// ++
module.exports = function($filter, QueryService, WorkPackagesTableHelper) {
angular
.module('openproject.workPackages.services')
.factory('WorkPackagesTableService', WorkPackagesTableService);
function WorkPackagesTableService($filter, QueryService, WorkPackagesTableHelper) {
var workPackagesTableData = {
allRowsChecked: false,
showFiltersOptions: false
@ -173,4 +177,4 @@ module.exports = function($filter, QueryService, WorkPackagesTableHelper) {
};
return WorkPackagesTableService;
};
}

@ -27,12 +27,6 @@
//++
angular.module('openproject.workPackages.services')
.service('WorkPackagesTableService', [
'$filter',
'QueryService',
'WorkPackagesTableHelper',
require('./work-packages-table-service')
])
.constant('WORK_PACKAGE_ATTRIBUTES', [
{
groupName: 'details',

Loading…
Cancel
Save