fix: Fix edit subnet allocation pools
fix remove allocation pools when edit subnet Change-Id: Id03ab6b5b400bf90e61d52de8825b2e915ec8d36
This commit is contained in:
parent
f7e4b18413
commit
3020d4c88a
@ -77,9 +77,7 @@ export default class EditSubnet extends ModalAction {
|
|||||||
...rest
|
...rest
|
||||||
} = values;
|
} = values;
|
||||||
|
|
||||||
const allocationPools = getAllocationPools(
|
const allocationPools = getAllocationPools(allocation_pools);
|
||||||
allocation_pools || this.defaultValue.allocation_pools
|
|
||||||
);
|
|
||||||
|
|
||||||
const hostRouters = getHostRouters(
|
const hostRouters = getHostRouters(
|
||||||
host_routes || this.defaultValue.host_routes
|
host_routes || this.defaultValue.host_routes
|
||||||
|
Loading…
Reference in New Issue
Block a user