fixed os_only flavor bug
Change-Id: I1fae6e4290e0ab2acaf3f0d7c7fbd7a4863da8bd
This commit is contained in:
parent
1e078e788c
commit
ed31a85221
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue