Move DHCP component to a more logical location

This commit is contained in:
2024-01-04 10:19:42 +01:00
parent fdd005a3ec
commit baa0adf529
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ import { IPInput } from "../forms/IPInput";
import { ResAutostartInput } from "../forms/ResAutostartInput";
import { SelectInput } from "../forms/SelectInput";
import { TextInput } from "../forms/TextInput";
import { DHCPHostReservations } from "./DHCPHostReservations";
import { NetDHCPHostReservations } from "../forms/NetDHCPHostReservations";
import { XMLAsyncWidget } from "../XMLWidget";
interface DetailsProps {
@ -374,7 +374,7 @@ function IPSection(p: {
{p.config?.dhcp && (p.editable || p.config.dhcp.hosts.length > 0) && (
<EditSection title="DHCP hosts reservations">
<DHCPHostReservations
<NetDHCPHostReservations
{...p}
dhcp={p.config.dhcp}
onChange={(d) => {