Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/components/FalsePositiveDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ const FalsePositiveDialog: FunctionComponent<FalsePositiveDialogProps> = ({
<SelectContent className="max-w-2xl">
<SelectItem value="none" className="border-b pb-3 mb-1">
<div className="flex items-center gap-2">
<span className="font-medium">No rule</span>
<span className="text-xs text-muted-foreground">
(only this vulnerability)
<span className="font-medium">
Handle only this path
</span>
</div>
</SelectItem>
Expand All @@ -164,12 +163,15 @@ const FalsePositiveDialog: FunctionComponent<FalsePositiveDialogProps> = ({
>
<div className="flex flex-col gap-1.5 w-full">
<span className="text-xs text-muted-foreground">
Matches {count}{" "}
{count === 1
? "vulnerability"
: "vulnerabilities"}
Matches {count} {count === 1 ? "path" : "paths"}
</span>
<div className="flex flex-wrap items-center gap-1">
<span className="pt-1 text-xs text-muted-foreground">
*
</span>
<span className="text-xs text-muted-foreground">
</span>
{suffix.split(" > ").map((el, idx, arr) => (
<div
key={el + idx}
Expand Down