From 3170338d14ad3caa812abc3c1443914ba1a272a7 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Tue, 30 Aug 2022 17:36:34 +0700 Subject: [PATCH] ui: remove incorrect API calls when initializing the deploy VM page (#6687) --- ui/src/views/compute/DeployVM.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index dadecd99419..1566806883d 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1433,6 +1433,7 @@ export default { params.id = this.networkId apiName = 'listNetworks' } + if (!apiName) return resolve(zones) api(apiName, params).then(json => { let objectName