Remove unused details button and related icon

Remove the "Dettagli" button and the Eye icon import from the Detections page as they are no longer needed.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 62bbad53-aa3a-4887-b48d-7203ea4974de
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/L6QSDnx
This commit is contained in:
marco370 2025-11-25 10:29:18 +00:00
parent d3c0839a31
commit 61df9c4f4d

View File

@ -5,7 +5,7 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input"; import { Input } from "@/components/ui/input";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import { Slider } from "@/components/ui/slider"; import { Slider } from "@/components/ui/slider";
import { AlertTriangle, Search, Shield, Eye, Globe, MapPin, Building2, ShieldPlus } from "lucide-react"; import { AlertTriangle, Search, Shield, Globe, MapPin, Building2, ShieldPlus } from "lucide-react";
import { format } from "date-fns"; import { format } from "date-fns";
import { useState } from "react"; import { useState } from "react";
import type { Detection } from "@shared/schema"; import type { Detection } from "@shared/schema";
@ -278,7 +278,6 @@ export default function Detections() {
</Badge> </Badge>
)} )}
<div className="flex flex-col gap-1.5 w-full">
<Button <Button
variant="outline" variant="outline"
size="sm" size="sm"
@ -290,14 +289,6 @@ export default function Detections() {
<ShieldPlus className="h-3 w-3 mr-1" /> <ShieldPlus className="h-3 w-3 mr-1" />
Whitelist Whitelist
</Button> </Button>
<Button variant="outline" size="sm" asChild data-testid={`button-details-${detection.id}`}>
<a href={`/?ip=${detection.sourceIp}`}>
<Eye className="h-3 w-3 mr-1" />
Dettagli
</a>
</Button>
</div>
</div> </div>
</div> </div>
</div> </div>