UI: fix "Request failed." error when open vnf appliances tab of network (#9334)

This commit is contained in:
Wei Zhou 2024-07-04 14:02:52 +02:00 committed by GitHub
parent 94e5ceff7f
commit 374ea7d482
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,7 @@ export default {
}
this.fetchLoading = true
api('listVnfAppliances', params).then(json => {
this.virtualmachines = json.listvirtualmachinesresponse.virtualmachine || []
this.virtualmachines = json.listvnfappliancesresponse.virtualmachine || []
for (const vm of this.virtualmachines) {
for (const vmnic of vm.nic) {
if (vmnic.networkid === this.resource.id) {