Merge "Changes the data field used to populate the E.N. select"

This commit is contained in:
Zuul 2024-02-14 16:21:22 +00:00 committed by Gerrit Code Review
commit 9d4aa416df
2 changed files with 3 additions and 2 deletions

View File

@ -126,9 +126,9 @@
name: item.value
})
}
return $scope.options.networks.concat(resource_networks);
return $scope.options.floating_networks.concat(resource_networks);
}
return $scope.options.networks;
return $scope.options.floating_networks;
}
$scope.get_subnets_options = function(){

View File

@ -18,6 +18,7 @@
hotgenGlobals.update_resource_options({
networks: [{id: 'network1-id', name: 'network1-id'}],
floating_networks: [{id: 'network2-id', name: 'network2'}],
subnets: [{id: 'subnet1-id', name: 'subnet-id'}]
});
$scope.resource = {};