mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
chore: set filters panel to be always open by default (#8085)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user