ui: remove incorrect API calls when initializing the deploy VM page (#6687)

This commit is contained in:
Hoang Nguyen 2022-08-30 17:36:34 +07:00 committed by GitHub
parent 7115e35965
commit 3170338d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1433,6 +1433,7 @@ export default {
params.id = this.networkId
apiName = 'listNetworks'
}
if (!apiName) return resolve(zones)
api(apiName, params).then(json => {
let objectName