fix: fix remove subnet dns and host routes
Fix remove the dns nameservers and host routes when edit subnet Change-Id: I97e298f8c66d2df0f7804b7126799186a59731e6
This commit is contained in:
parent
d4d6b60db2
commit
c2f781624a
@ -77,11 +77,9 @@ export class EditSubnet extends ModalAction {
|
|||||||
|
|
||||||
const allocationPools = getAllocationPools(allocation_pools);
|
const allocationPools = getAllocationPools(allocation_pools);
|
||||||
|
|
||||||
const hostRouters = getHostRouters(
|
const hostRouters = getHostRouters(host_routes);
|
||||||
host_routes || this.defaultValue.host_routes
|
|
||||||
);
|
|
||||||
|
|
||||||
const dns_nameservers = splitToArray(dns || this.defaultValue.dns);
|
const dns_nameservers = splitToArray(dns);
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
...rest,
|
...rest,
|
||||||
|
Loading…
Reference in New Issue
Block a user