mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: fix dedicate public ip range to domain (#6258)
This commit is contained in:
parent
fbf77978e1
commit
bbb4ffa593
@ -454,12 +454,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