Skip to content

Commit 6946ed2

Browse files
nam-singhtombrunet
andauthored
fix(extension):Fix reset filter link #1877 (#2136)
* reset filter fix * css fix --------- Co-authored-by: Tom Brunet <thbrunet@us.ibm.com>
1 parent de7c45d commit 6946ed2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

accessibility-checker-extension/src/ts/devtools/components/reportSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export class ReportSection extends React.Component<ReportSectionProps, ReportSec
290290
<Button
291291
kind="tertiary"
292292
disabled={totalCount === 0}
293-
style={{ float: "right", minHeight: "18px", maxHeight: "32px", minWidth: "10rem" }}
293+
style={{ float: "right", minHeight: "18px", maxHeight: "32px", minWidth: "10rem", alignItems: "center" }}
294294
onClick={() => this.devtoolsController.exportXLS("last") }
295295
>Export XLS</Button>
296296
</div>

accessibility-checker-extension/src/ts/devtools/components/reportTreeGrid.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,8 @@ export class ReportTreeGrid<RowType extends IRowGroup> extends React.Component<R
578578
}}
579579
>turn off focus view</Link>, <Link
580580
inline={true}
581-
onClick={() => {
582-
this.props.onResetFilters;
583-
}}
584-
>select all issue types</Link>, and do not filter hidden issues.
581+
onClick={()=>this.props.onResetFilters() }
582+
>reset the filters</Link>, and do not filter hidden issues.
585583
</div>
586584
} else {
587585
// Calculate all of the show/hide/checked states

0 commit comments

Comments
 (0)