Skip to content

Commit

Permalink
Merge pull request #392 from KPMP/KPMP-3774_fix-filter-update
Browse files Browse the repository at this point in the history
fix panels var
  • Loading branch information
HaneenT authored Sep 30, 2024
2 parents 47ac607 + 4be37f6 commit d297650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Release 4.1 [unreleased]
Brief summary of what's in this release:

- Fixed an issue where the filters would not be applied when another user uploads a package

### Breaking changes

Expand Down
2 changes: 1 addition & 1 deletion src/components/Packages/PackageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class PackageList extends Component {
}

else {
panels = this.state.packages.map((uploadPackage, index) => {
panels = applyFilters(this.props.filtering.filters, this.state.unfilteredPackages, this.props.filtering.packageTypes).map((uploadPackage, index) => {
return <PackagePanelContainer key={index} index={index} uploadPackage={uploadPackage}/>;
});
}
Expand Down

0 comments on commit d297650

Please sign in to comment.