diff --git a/app/(dashboard)/analytics/AnalyticsClient.tsx b/app/(dashboard)/analytics/AnalyticsClient.tsx index 6d2e6149..5772a466 100644 --- a/app/(dashboard)/analytics/AnalyticsClient.tsx +++ b/app/(dashboard)/analytics/AnalyticsClient.tsx @@ -458,6 +458,7 @@ export default function AnalyticsClient() { 0 ? `${wafStats!.total.toLocaleString()} from WAF` : undefined} color={summary.blockedRequests > 0 ? '#ef4444' : undefined} /> diff --git a/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx b/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx index fb58c891..3698a46f 100644 --- a/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx +++ b/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx @@ -2,8 +2,7 @@ import { useEffect, useRef, useState } from "react"; import { useRouter, usePathname, useSearchParams } from "next/navigation"; -import { Chip, IconButton, Stack, Switch, Tooltip, Typography } from "@mui/material"; -import SecurityIcon from "@mui/icons-material/Security"; +import { IconButton, Stack, Switch, Tooltip, Typography } from "@mui/material"; import EditIcon from "@mui/icons-material/Edit"; import DeleteIcon from "@mui/icons-material/Delete"; import ContentCopyIcon from "@mui/icons-material/ContentCopy"; @@ -15,7 +14,6 @@ import { toggleProxyHostAction } from "./actions"; import { PageHeader } from "@/src/components/ui/PageHeader"; import { SearchField } from "@/src/components/ui/SearchField"; import { DataTable } from "@/src/components/ui/DataTable"; -import { StatusChip } from "@/src/components/ui/StatusChip"; import { CreateHostDialog, EditHostDialog, DeleteHostDialog } from "@/src/components/proxy-hosts/HostDialogs"; type Props = { @@ -96,33 +94,6 @@ export default function ProxyHostsClient({ hosts, certificates, accessLists, aut ) }, - { - id: "waf", - label: "WAF", - render: (host: ProxyHost) => { - if (!host.waf?.enabled) return ; - const excludedCount = host.waf.excluded_rule_ids?.length ?? 0; - return ( - - - {excludedCount > 0 && ( - - )} - - ); - } - }, - { - id: "status", - label: "Status", - render: (host: ProxyHost) => ( - - ) - }, { id: "actions", label: "Actions",