mirror of https://github.com/apache/cloudstack.git
Network offering details: Service providers are not displayed anywhere:Modifying the code structure for map loop to retrieve the list of service providers in the form of key-value pairs
This commit is contained in:
parent
fda31ab4b7
commit
dcdf35fc1e
|
|
@ -1991,8 +1991,8 @@
|
|||
}).join(', '),
|
||||
|
||||
serviceCapabilities: $.map(item.service, function(service) {
|
||||
return service.capability ? $.map(service.capability, function(capability) {
|
||||
return capability.name + ': ' + capability.value;
|
||||
return service.provider ? $.map(service.provider, function(capability) {
|
||||
return service.name + ': ' + capability.name;
|
||||
}).join(', ') : null;
|
||||
}).join(', ')
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue