mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-05 20:41:43 -07:00
Merge pull request #71 from BrianWieder/main
fix: fix crash when network had no IP ranges
This commit is contained in:
commit
c8fc67a3d4
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ function NetworkButton({ network }) {
|
|||
<Hidden mdDown>
|
||||
<ListItem className={classes.cidr}>
|
||||
{network["config"]["ipAssignmentPools"] &&
|
||||
network["config"]["ipAssignmentPools"][0] &&
|
||||
getCIDRAddress(
|
||||
network["config"]["ipAssignmentPools"][0]["ipRangeStart"],
|
||||
network["config"]["ipAssignmentPools"][0]["ipRangeEnd"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue