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
|
||||
}
|
||||
|
||||
api('dedicatePublicIpRange', {
|
||||
var params = {
|
||||
id: this.selectedItem.id,
|
||||
zoneid: this.selectedItem.zoneid,
|
||||
domainid: this.addAccount.domain,
|
||||
account: this.addAccount.account
|
||||
}).catch(error => {
|
||||
domainid: this.addAccount.domain
|
||||
}
|
||||
|
||||
if (this.addAccount.account) {
|
||||
params.account = this.addAccount.account
|
||||
}
|
||||
|
||||
api('dedicatePublicIpRange', params).catch(error => {
|
||||
this.$notifyError(error)
|
||||
}).finally(() => {
|
||||
this.addAccountModal = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user