mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +00:00
fix: correct parenthesis around the render condition (#8041)
This commit is contained in:
@@ -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} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user