Skip to content

Commit c619d51

Browse files
authored
Merge pull request #317 from bregenspan/fix-checked-bundles-not-updating
Fix case where checked bundles in sidebar don't update
2 parents d6aa7e8 + 2b685ed commit c619d51

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
1414

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

17+
* **Bug Fix**
18+
* 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))
19+
1720
## 3.5.1
1821

1922
* **Bug Fix**

client/components/CheckboxList.jsx

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export default class CheckboxList extends PureComponent {
3333
this.setState({checkedItems});
3434
this.informAboutChange(checkedItems);
3535
}
36+
} else if (newProps.checkedItems !== this.props.checkedItems) {
37+
this.setState({checkedItems: newProps.checkedItems});
3638
}
3739
}
3840

0 commit comments

Comments
 (0)