Commit 4a18b135 authored by NISUM's avatar NISUM

My-project-allocations changes

parent 7950cf89
...@@ -66,8 +66,8 @@ myApp.controller("myProjectAllocationsController",function($scope, myFactory, $m ...@@ -66,8 +66,8 @@ myApp.controller("myProjectAllocationsController",function($scope, myFactory, $m
method : "GET", method : "GET",
url : appConfig.appUri + "getMyProjectAllocations?employeeId="+myFactory.getEmpId() url : appConfig.appUri + "getMyProjectAllocations?employeeId="+myFactory.getEmpId()
}).then(function mySuccess(response) { }).then(function mySuccess(response) {
$scope.gridOptions.data = response.data; $scope.gridOptions.data = response.data.records;
if(response.data.length > 10){ if(response.data.records.length > 10){
$scope.gridOptions.enablePaginationControls = true; $scope.gridOptions.enablePaginationControls = true;
} }
else{ else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment