Skip to content

Commit b6ae266

Browse files
Hoang Nguyenneogismm
authored andcommitted
ui: remove incorrect API calls when initializing the deploy VM page (apache#6687)
1 parent fa0ad2d commit b6ae266

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@ export default {
14331433
params.id = this.networkId
14341434
apiName = 'listNetworks'
14351435
}
1436+
if (!apiName) return resolve(zones)
14361437
14371438
api(apiName, params).then(json => {
14381439
let objectName

0 commit comments

Comments
 (0)