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 "Add validaton tests for KNI"
[validation.git]
/
ui
/
src
/
main
/
webapp
/
app
/
BluvalUI
/
GetByTimestamp
/
GetByTimestampController.js
diff --git
a/ui/src/main/webapp/app/BluvalUI/GetByTimestamp/GetByTimestampController.js
b/ui/src/main/webapp/app/BluvalUI/GetByTimestamp/GetByTimestampController.js
index
cb75d5c
..
1243f7e
100644
(file)
--- a/
ui/src/main/webapp/app/BluvalUI/GetByTimestamp/GetByTimestampController.js
+++ b/
ui/src/main/webapp/app/BluvalUI/GetByTimestamp/GetByTimestampController.js
@@
-24,8
+24,11
@@
function($scope, restAPISvc, $window, appContext) {
$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;
});
}