ui: Fix SystemVMs public range dedication (#3495)

Fix small UI issue when dedicating public IR range for system VMs:
Unable to execute API command createvlaniprange due to invalid value. Invalid parameter domainid value=undefined due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.

Fixes: #3485
This commit is contained in:
Nicolas Vazquez 2019-07-17 11:43:40 -03:00 committed by Rohit Yadav
parent e15c3112e4
commit a1faf09a2c
1 changed files with 3 additions and 1 deletions

View File

@ -496,11 +496,13 @@
if (args.data.account) {
if (args.data.account.account)
array1.push("&account=" + args.data.account.account);
if (args.data.account.domainid) {
array1.push("&domainid=" + args.data.account.domainid);
}
if (args.data.account.systemvms) {
systvmsval = args.data.account.systemvms == "on" ? "true" : "false"
array1.push("&forsystemvms=" + systvmsval);
}
array1.push("&domainid=" + args.data.account.domainid);
}
array1.push("&forVirtualNetwork=true");