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

This commit is contained in:
Claire 2025-01-29 11:15:32 +01:00 committed by GitHub
parent 85668becde
commit 51bbca7723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -333,7 +333,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;