chore: set filters panel to be always open by default (#8085)

This commit is contained in:
Pablo Lara
2025-06-23 15:05:53 +02:00
committed by GitHub
parent 6a331c05e8
commit bc71e7fb3b
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -29,6 +29,7 @@ All notable changes to the **Prowler UI** are documented in this file.
- Refactor credentials forms with reusable components and error handling [(#7988)](https://github.com/prowler-cloud/prowler/pull/7988)
- Updated the provider details section in Scan and Findings detail pages [(#7968)](https://github.com/prowler-cloud/prowler/pull/7968)
- Improve filter behaviour and relationships between filters in findings page [(#8046)](https://github.com/prowler-cloud/prowler/pull/8046)
- Set filters panel to be always open by default [(#8085)](https://github.com/prowler-cloud/prowler/pull/8085)
### 🐞 Fixed
@@ -64,9 +64,7 @@ export const ComplianceHeader = ({
</div>
</>
)}
{allFilters.length > 0 && (
<DataTableFilterCustom filters={allFilters} defaultOpen={true} />
)}
{allFilters.length > 0 && <DataTableFilterCustom filters={allFilters} />}
<Spacer y={8} />
</>
);
@@ -17,7 +17,7 @@ export interface DataTableFilterCustomProps {
export const DataTableFilterCustom = ({
filters,
defaultOpen = false,
defaultOpen = true,
showClearButton = false,
}: DataTableFilterCustomProps) => {
const { updateFilter } = useUrlFilters();