diff --git a/application/src/components/services/RegionalAgentFilter.tsx b/application/src/components/services/RegionalAgentFilter.tsx index 3d5962a..f2396cd 100644 --- a/application/src/components/services/RegionalAgentFilter.tsx +++ b/application/src/components/services/RegionalAgentFilter.tsx @@ -2,7 +2,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { useQuery } from "@tanstack/react-query"; import { regionalService } from "@/services/regionalService"; -import { MapPin, Loader2, Globe } from "lucide-react"; +import { MapPin, Loader2, BarChart3 } from "lucide-react"; interface RegionalAgentFilterProps { selectedAgent: string; @@ -19,8 +19,8 @@ export function RegionalAgentFilter({ selectedAgent, onAgentChange }: RegionalAg const onlineAgents = regionalAgents.filter(agent => agent.connection === 'online'); const getCurrentAgentDisplay = () => { - if (!selectedAgent || selectedAgent === "default") { - return "Default Monitoring"; + if (!selectedAgent || selectedAgent === "all") { + return "All Monitoring"; } const [regionName] = selectedAgent.split("|"); @@ -32,7 +32,7 @@ export function RegionalAgentFilter({ selectedAgent, onAgentChange }: RegionalAg return `${agent.region_name} (${agent.agent_ip_address})`; } - return regionName || "Default Monitoring"; + return regionName || "All Monitoring"; }; return ( @@ -43,7 +43,7 @@ export function RegionalAgentFilter({ selectedAgent, onAgentChange }: RegionalAg