Fix “x” hotkey not working on boosted filtered posts ()

This commit is contained in:
Claire 2025-01-29 11:15:32 +01:00
parent cdcd77ebff
commit 2340f4df81

View file

@ -330,7 +330,7 @@ class Status extends ImmutablePureComponent {
const { onToggleHidden } = this.props;
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 expandedBecauseOfFilter = this.state.showDespiteFilter;