Code Review
/
validation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Convention over configuration
[validation.git]
/
ui
/
src
/
main
/
webapp
/
app
/
BluvalUI
/
GetBasedOnDate
/
GetBasedOnDateController.js
diff --git
a/ui/src/main/webapp/app/BluvalUI/GetBasedOnDate/GetBasedOnDateController.js
b/ui/src/main/webapp/app/BluvalUI/GetBasedOnDate/GetBasedOnDateController.js
index
607634b
..
d6bf3da
100644
(file)
--- a/
ui/src/main/webapp/app/BluvalUI/GetBasedOnDate/GetBasedOnDateController.js
+++ b/
ui/src/main/webapp/app/BluvalUI/GetBasedOnDate/GetBasedOnDateController.js
@@
-24,8
+24,11
@@
app.controller('GetBasedOnDateController', function($scope, restAPISvc,
$scope.loadingLabs = true;
$scope.loadingBlueprints = false;
$scope.loadingVersions = false;
$scope.loadingLabs = true;
$scope.loadingBlueprints = false;
$scope.loadingVersions = false;
- restAPISvc.getRestAPI("/api/v1/results/getlabs/", function(data) {
- $scope.labs = data;
+ $scope.labs = [];
+ restAPISvc.getRestAPI("/api/v1/lab/", function(data) {
+ angular.forEach(data, function(lab) {
+ $scope.labs.push(lab.lab);
+ });
$scope.loadingLabs = false;
});
}
$scope.loadingLabs = false;
});
}