From a53a33ba59e4d5a2e2ceb4e702cd4e8c7fbc6989 Mon Sep 17 00:00:00 2001 From: utchoang Date: Tue, 30 Aug 2022 08:16:27 +0700 Subject: [PATCH] remove incorrect API calls when initializing the deploy VM page --- 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 dadecd994196..1566806883d9 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