Create network filters route
This commit is contained in:
		@@ -3,7 +3,9 @@ import {
 | 
			
		||||
  mdiDisc,
 | 
			
		||||
  mdiHome,
 | 
			
		||||
  mdiInformation,
 | 
			
		||||
  mdiLan
 | 
			
		||||
  mdiLan,
 | 
			
		||||
  mdiSecurity,
 | 
			
		||||
  mdiSecurityNetwork,
 | 
			
		||||
} from "@mdi/js";
 | 
			
		||||
import Icon from "@mdi/react";
 | 
			
		||||
import {
 | 
			
		||||
@@ -17,6 +19,7 @@ import {
 | 
			
		||||
import { Outlet, useLocation } from "react-router-dom";
 | 
			
		||||
import { RouterLink } from "./RouterLink";
 | 
			
		||||
import { VirtWebAppBar } from "./VirtWebAppBar";
 | 
			
		||||
import { isDebug } from "../utils/DebugUtils";
 | 
			
		||||
 | 
			
		||||
export function BaseAuthenticatedPage(): React.ReactElement {
 | 
			
		||||
  return (
 | 
			
		||||
@@ -60,6 +63,14 @@ export function BaseAuthenticatedPage(): React.ReactElement {
 | 
			
		||||
            uri="/net"
 | 
			
		||||
            icon={<Icon path={mdiLan} size={1} />}
 | 
			
		||||
          />
 | 
			
		||||
          {/* TODO : remove debug marker */}
 | 
			
		||||
          {isDebug() && (
 | 
			
		||||
            <NavLink
 | 
			
		||||
              label="Network filters"
 | 
			
		||||
              uri="/nwfilter"
 | 
			
		||||
              icon={<Icon path={mdiSecurityNetwork} size={1} />}
 | 
			
		||||
            />
 | 
			
		||||
          )}
 | 
			
		||||
          <NavLink
 | 
			
		||||
            label="ISO files"
 | 
			
		||||
            uri="/iso"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user