Can edit more network settings
This commit is contained in:
@ -20,6 +20,7 @@ import { VirtWebRouteContainer } from "../widgets/VirtWebRouteContainer";
|
||||
import { useConfirm } from "../hooks/providers/ConfirmDialogProvider";
|
||||
import { useSnackbar } from "../hooks/providers/SnackbarProvider";
|
||||
import { useAlert } from "../hooks/providers/AlertDialogProvider";
|
||||
import { NetworkStatusWidget } from "../widgets/net/NetworkStatusWidget";
|
||||
|
||||
export function NetworksListRoute(): React.ReactElement {
|
||||
const confirm = useConfirm();
|
||||
@ -93,6 +94,7 @@ function NetworksListRouteInner(p: {
|
||||
<TableCell>Description</TableCell>
|
||||
<TableCell>Network type</TableCell>
|
||||
<TableCell>IP</TableCell>
|
||||
<TableCell>State</TableCell>
|
||||
<TableCell>Actions</TableCell>
|
||||
</TableRow>
|
||||
</TableHead>
|
||||
@ -112,6 +114,9 @@ function NetworksListRouteInner(p: {
|
||||
<TableCell>
|
||||
{t.ip_v4 && "IPv4"} {t.ip_v6 && "IPv6"}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<NetworkStatusWidget net={t} />
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<RouterLink to={NetworkURL(t)}>
|
||||
<IconButton>
|
||||
|
Reference in New Issue
Block a user