diff --git a/app/src/components/GatewayPanel.tsx b/app/src/components/GatewayPanel.tsx index 5cec834..1f2a5bc 100644 --- a/app/src/components/GatewayPanel.tsx +++ b/app/src/components/GatewayPanel.tsx @@ -1,8 +1,9 @@ import { useMemo, useState } from "react" import { Link } from "react-router-dom" -import { Globe, RefreshCw, FileText } from "lucide-react" +import { Globe, RefreshCw, FileText, ShieldCheck } from "lucide-react" import type { GatewayInfo, HealthStatus } from "@/types" import { useGatewayReload, useCaddyfile } from "@/services/api/hooks" +import { apiClient } from "@/services/api/client" import { HealthBadge } from "./HealthBadge" interface GatewayPanelProps { @@ -33,6 +34,20 @@ export function GatewayPanel({ gateway, statuses }: GatewayPanelProps) {
+ {gateway.tls === "internal" && ( + + + CA cert + + )}