mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.16'
This commit is contained in:
commit
a1fb44e41f
@ -465,12 +465,17 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
api('dedicatePublicIpRange', {
|
var params = {
|
||||||
id: this.selectedItem.id,
|
id: this.selectedItem.id,
|
||||||
zoneid: this.selectedItem.zoneid,
|
zoneid: this.selectedItem.zoneid,
|
||||||
domainid: this.addAccount.domain,
|
domainid: this.addAccount.domain
|
||||||
account: this.addAccount.account
|
}
|
||||||
}).catch(error => {
|
|
||||||
|
if (this.addAccount.account) {
|
||||||
|
params.account = this.addAccount.account
|
||||||
|
}
|
||||||
|
|
||||||
|
api('dedicatePublicIpRange', params).catch(error => {
|
||||||
this.$notifyError(error)
|
this.$notifyError(error)
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.addAccountModal = false
|
this.addAccountModal = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user