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
method : "GET",
url : appConfig.appUri + "getMyProjectAllocations?employeeId="+myFactory.getEmpId()
}).then(function mySuccess(response) {
$scope.gridOptions.data = response.data;
if(response.data.length > 10){
$scope.gridOptions.data = response.data.records;
if(response.data.records.length > 10){
$scope.gridOptions.enablePaginationControls = true;
}
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