Skip to content

Commit

Permalink
Add onClick for clearing filters for hub (#1293)
Browse files Browse the repository at this point in the history
**Related Ticket:** #1292

_**NOTE:** A patch has already been cut with these changes from
`hotfix/v5.11.2` branch which branched directly off of tag `v5.11.1`!!
See diff
[here](https://github.com/NASA-IMPACT/veda-ui/compare/v5.11.1...hotfix/v5.11.2?expand=1)._

Need to merge to `main` & bumping version here too so we can keep up to
date with our actual release #s.

_**v5.11.2 Patch Release
[here](https://github.com/NASA-IMPACT/veda-ui/releases/tag/v5.11.2)**_
_Test Pull Request for Patch Release
[here](#1294

### Description of Changes
Fixes the bug explained in ticket by adding onClick.
  • Loading branch information
sandrahoang686 authored Dec 5, 2024
2 parents 94fe328 + 26a2adb commit 80a6d50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/components/stories/hub/hub-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function HubContent(props: HubContentProps) {
out of {allStories.length}.
</span>
{isFiltering && (
<Button {...ButtonLinkProps} size='small'>
<Button {...ButtonLinkProps} size='small' onClick={() => onAction(FilterActions.CLEAR)}>
Clear filters <CollecticonXmarkSmall />
</Button>
)}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@developmentseed/veda-ui",
"description": "Dashboard",
"version": "5.11.0",
"version": "5.11.2",
"author": {
"name": "Development Seed",
"url": "https://developmentseed.org/"
Expand Down

0 comments on commit 80a6d50

Please sign in to comment.