From 6946ed2c97de286d6ac21912c50d8c80aee22938 Mon Sep 17 00:00:00 2001 From: Namrata Singh Date: Fri, 3 Jan 2025 01:38:49 +0530 Subject: [PATCH] fix(extension):Fix reset filter link #1877 (#2136) * reset filter fix * css fix --------- Co-authored-by: Tom Brunet --- .../src/ts/devtools/components/reportSection.tsx | 2 +- .../src/ts/devtools/components/reportTreeGrid.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/accessibility-checker-extension/src/ts/devtools/components/reportSection.tsx b/accessibility-checker-extension/src/ts/devtools/components/reportSection.tsx index 8731d89d3..076ff5d8f 100644 --- a/accessibility-checker-extension/src/ts/devtools/components/reportSection.tsx +++ b/accessibility-checker-extension/src/ts/devtools/components/reportSection.tsx @@ -290,7 +290,7 @@ export class ReportSection extends React.Component this.devtoolsController.exportXLS("last") } >Export XLS diff --git a/accessibility-checker-extension/src/ts/devtools/components/reportTreeGrid.tsx b/accessibility-checker-extension/src/ts/devtools/components/reportTreeGrid.tsx index f028f0137..54f3a0ab8 100644 --- a/accessibility-checker-extension/src/ts/devtools/components/reportTreeGrid.tsx +++ b/accessibility-checker-extension/src/ts/devtools/components/reportTreeGrid.tsx @@ -578,10 +578,8 @@ export class ReportTreeGrid extends React.Componentturn off focus view, { - this.props.onResetFilters; - }} - >select all issue types, and do not filter hidden issues. + onClick={()=>this.props.onResetFilters() } + >reset the filters, and do not filter hidden issues. } else { // Calculate all of the show/hide/checked states