Can configure network NAT settings from UI
This commit is contained in:
@ -11,6 +11,7 @@ import {
|
||||
ListItemText,
|
||||
Paper,
|
||||
Tooltip,
|
||||
Typography,
|
||||
} from "@mui/material";
|
||||
import { DHCPConfig, DHCPHost } from "../../api/NetworksApi";
|
||||
import { ServerApi } from "../../api/ServerApi";
|
||||
@ -54,6 +55,11 @@ export function NetDHCPHostReservations(p: {
|
||||
</Grid>
|
||||
))}
|
||||
</Grid>
|
||||
{p.dhcp.hosts.length === 0 && (
|
||||
<Typography style={{ textAlign: "center" }}>
|
||||
You have not set any DHCP host reservations.
|
||||
</Typography>
|
||||
)}
|
||||
{p.editable && (
|
||||
<Button onClick={addHost}>Add new host reservation</Button>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user