Skip to content

Commit

Permalink
Merge pull request #317 from bregenspan/fix-checked-bundles-not-updating
Browse files Browse the repository at this point in the history
Fix case where checked bundles in sidebar don't update
  • Loading branch information
valscion committed Sep 26, 2019
2 parents d6aa7e8 + 2b685ed commit c619d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -14,6 +14,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._

<!-- Add changelog entries for new changes under this section -->

* **Bug Fix**
* Fix sidebar not showing visibility status of chunks hidden via popup menu (issue [#316](https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/316) by [@gaokun](https://github.com/gaokun), fixed in [#317](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/317) by [@bregenspan](https://github.com/bregenspan))

## 3.5.1

* **Bug Fix**
Expand Down
2 changes: 2 additions & 0 deletions client/components/CheckboxList.jsx
Expand Up @@ -33,6 +33,8 @@ export default class CheckboxList extends PureComponent {
this.setState({checkedItems});
this.informAboutChange(checkedItems);
}
} else if (newProps.checkedItems !== this.props.checkedItems) {
this.setState({checkedItems: newProps.checkedItems});
}
}

Expand Down

0 comments on commit c619d51

Please sign in to comment.