diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdb5e87..dc466dbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._ + * **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** diff --git a/client/components/CheckboxList.jsx b/client/components/CheckboxList.jsx index efc3e01e..f8b37a91 100644 --- a/client/components/CheckboxList.jsx +++ b/client/components/CheckboxList.jsx @@ -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}); } }