diff --git a/frontend/src/pages/SubscriberCreate.tsx b/frontend/src/pages/SubscriberCreate.tsx index d42750e8b4373dcbe1d67d6cadacca2874905d11..e968dcaa85f257b13b61983b10380eae510426f7 100644 --- a/frontend/src/pages/SubscriberCreate.tsx +++ b/frontend/src/pages/SubscriberCreate.tsx @@ -1879,11 +1879,12 @@ export default function SubscriberCreate() { style={{ justifyItems: "end" }} control=<Switch checked={ + row.dnnConfigurations![dnn]["staticIpAddress"] && row.dnnConfigurations![dnn]["staticIpAddress"]?.length != 0 } onChange={(event) => { if (event.target.checked) { - var ipaddr: IpAddress = { ipv4Addr: "10.60.0.1" }; + var ipaddr: IpAddress = { ipv4Addr: "10.60.100.1" }; data.SessionManagementSubscriptionData![ index ].dnnConfigurations![dnn]["staticIpAddress"] = [ipaddr]; @@ -1900,7 +1901,7 @@ export default function SubscriberCreate() { </TableCell> <TableCell style={{ width: "66%" }}> <TextField - label="StaticIpv4" + label="IPv4 Address" variant="outlined" fullWidth disabled={ diff --git a/frontend/src/pages/SubscriberRead.tsx b/frontend/src/pages/SubscriberRead.tsx index 1d4994dd9c683941117620779c901045afadf9c4..aed586291ca44129c45470e7dc53061798861eff 100644 --- a/frontend/src/pages/SubscriberRead.tsx +++ b/frontend/src/pages/SubscriberRead.tsx @@ -419,7 +419,7 @@ export default function SubscriberRead() { </TableBody> <TableBody> <TableRow> - <TableCell style={{ width: "40%" }}>StaticIpv4</TableCell> + <TableCell style={{ width: "40%" }}>Static IPv4 Address</TableCell> <TableCell> {row.dnnConfigurations![dnn]["staticIpAddress"] == null ? "Not Set"