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
Original file line number Diff line number Diff line change
Expand Up @@ -499,15 +499,14 @@ const Index: FunctionComponent = () => {
placeholder: "Search or filter results...",
}}
/>
<div className="absolute right-2 top-1/2 -translate-y-1/2 ">
{isLoading && (
<Loader2 className="h-4 w-4 animate-spin text-muted-foreground" />
)}
</div>
</div>
</div>
</Section>
{!vulns?.data?.length ? (
{isLoading ? (
<div className="flex min-h-64 items-center justify-center">
<Loader2 className="h-4 w-4 animate-spin text-muted-foreground" />
</div>
) : !vulns?.data?.length ? (
<div>
<EmptyParty
title="No matching results."
Expand Down