|
|
|
@ -14,8 +14,7 @@ angular.module('openproject.workPackages.controllers') |
|
|
|
|
|
|
|
|
|
WorkPackageService.getWorkPackagesByQueryId($scope.projectIdentifier, $scope.query_id) |
|
|
|
|
.then($scope.setupWorkPackagesTable) |
|
|
|
|
.then(initAvailableColumns) |
|
|
|
|
.then(setupComplete); |
|
|
|
|
.then(initAvailableColumns); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function initQuery(queryData) { |
|
|
|
@ -75,10 +74,6 @@ angular.module('openproject.workPackages.controllers') |
|
|
|
|
$scope.loading = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function setupComplete() { |
|
|
|
|
$scope.setupComplete = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @name withLoading |
|
|
|
|
* |
|
|
|
|