Fixed #66 disabling collapse collapses all toots

main
Ondřej Hruška 7 years ago
parent 08d19778d5
commit 60d27b4302

@ -238,7 +238,7 @@ uncollapse our status accordingly.
componentWillReceiveProps (nextProps) {
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) {
this.setExpansion(false);
this.setExpansion(true);
} else if (
nextProps.collapse !== this.props.collapse &&
nextProps.collapse !== undefined

Loading…
Cancel
Save