Merge "fixed os_only flavor bug"
This commit is contained in:
commit
4237367df1
|
@ -78,8 +78,9 @@ define(['uiRouter', 'angularTable', 'angularDragDrop', 'angularTouch', 'ngSpinne
|
||||||
$scope.adapters = adaptersData;
|
$scope.adapters = adaptersData;
|
||||||
|
|
||||||
$scope.currentAdapterName = $scope.cluster.adapter_name;
|
$scope.currentAdapterName = $scope.cluster.adapter_name;
|
||||||
|
if($scope.currentAdapterName != "os_only"){
|
||||||
$scope.currentFlavor = $scope.cluster.flavor.name;
|
$scope.currentFlavor = $scope.cluster.flavor.name;
|
||||||
|
}
|
||||||
// angular.forEach($scope.adapters, function(adapter) {
|
// angular.forEach($scope.adapters, function(adapter) {
|
||||||
// if (adapter.id == $scope.cluster.adapter_id) {
|
// if (adapter.id == $scope.cluster.adapter_id) {
|
||||||
// // console.log("hi");
|
// // console.log("hi");
|
||||||
|
|
Loading…
Reference in New Issue