mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 15:16:38 +00:00
Fixed #66 disabling collapse collapses all toots
This commit is contained in:
parent
08d19778d5
commit
60d27b4302
|
@ -238,7 +238,7 @@ uncollapse our status accordingly.
|
||||||
|
|
||||||
componentWillReceiveProps (nextProps) {
|
componentWillReceiveProps (nextProps) {
|
||||||
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) {
|
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) {
|
||||||
this.setExpansion(false);
|
this.setExpansion(true);
|
||||||
} else if (
|
} else if (
|
||||||
nextProps.collapse !== this.props.collapse &&
|
nextProps.collapse !== this.props.collapse &&
|
||||||
nextProps.collapse !== undefined
|
nextProps.collapse !== undefined
|
||||||
|
|
Loading…
Reference in a new issue