mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-06 06:55:04 +00:00
Fix “x” hotkey not working on boosted filtered posts (#33758)
This commit is contained in:
parent
85668becde
commit
51bbca7723
|
@ -333,7 +333,7 @@ class Status extends ImmutablePureComponent {
|
||||||
const { onToggleHidden } = this.props;
|
const { onToggleHidden } = this.props;
|
||||||
const status = this._properStatus();
|
const status = this._properStatus();
|
||||||
|
|
||||||
if (status.get('matched_filters')) {
|
if (this.props.status.get('matched_filters')) {
|
||||||
const expandedBecauseOfCW = !status.get('hidden') || status.get('spoiler_text').length === 0;
|
const expandedBecauseOfCW = !status.get('hidden') || status.get('spoiler_text').length === 0;
|
||||||
const expandedBecauseOfFilter = this.state.showDespiteFilter;
|
const expandedBecauseOfFilter = this.state.showDespiteFilter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user