Merge "fixed os_only flavor bug"

This commit is contained in:
Jenkins 2015-03-07 00:03:07 +00:00 committed by Gerrit Code Review
commit 4237367df1
1 changed files with 3 additions and 2 deletions

View File

@ -78,8 +78,9 @@ define(['uiRouter', 'angularTable', 'angularDragDrop', 'angularTouch', 'ngSpinne
$scope.adapters = adaptersData;
$scope.currentAdapterName = $scope.cluster.adapter_name;
$scope.currentFlavor = $scope.cluster.flavor.name;
if($scope.currentAdapterName != "os_only"){
$scope.currentFlavor = $scope.cluster.flavor.name;
}
// angular.forEach($scope.adapters, function(adapter) {
// if (adapter.id == $scope.cluster.adapter_id) {
// // console.log("hi");