fix: correct parenthesis around the render condition (#8041)

This commit is contained in:
Alejandro Bailo
2025-06-17 12:22:17 +02:00
committed by GitHub
parent 9a04ca3611
commit ef9809f61f
@@ -56,14 +56,15 @@ export const ComplianceHeader = ({
return (
<>
{showProviders ||
(showSearch && (
{(showProviders || showSearch) && (
<>
<div className="flex items-center justify-start gap-4">
{showProviders && <DataCompliance scans={scans} />}
{showSearch && <FilterControls search />}
<Spacer x={8} />
</div>
))}
<Spacer y={8} />
</>
)}
{allFilters.length > 0 && (
<DataTableFilterCustom filters={allFilters} defaultOpen={true} />
)}