Code Review
/
validation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Update conformance test to support k8s 1.16"
[validation.git]
/
ui
/
src
/
main
/
webapp
/
app
/
BluvalUI
/
GetMostRecent
/
GetMostRecentController.js
diff --git
a/ui/src/main/webapp/app/BluvalUI/GetMostRecent/GetMostRecentController.js
b/ui/src/main/webapp/app/BluvalUI/GetMostRecent/GetMostRecentController.js
index
76307eb
..
9e636b5
100644
(file)
--- a/
ui/src/main/webapp/app/BluvalUI/GetMostRecent/GetMostRecentController.js
+++ b/
ui/src/main/webapp/app/BluvalUI/GetMostRecent/GetMostRecentController.js
@@
-26,8
+26,11
@@
app.controller('GetMostRecentController', function($scope, restAPISvc, $window,
$scope.loadingBlueprints = false;
$scope.loadingVersions = false;
$scope.loadingResults = false;
$scope.loadingBlueprints = false;
$scope.loadingVersions = false;
$scope.loadingResults = 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;
});
}