Browse Source
Fix case where boolean was passed to onFilter on StatusActionBar (#18923)
closed-social-glitch-2
Takeshi Umeda
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/javascript/mastodon/components/status.js
|
|
@ -516,7 +516,7 @@ class Status extends ImmutablePureComponent { |
|
|
|
|
|
|
|
{media} |
|
|
|
|
|
|
|
<StatusActionBar scrollKey={scrollKey} status={status} account={account} onFilter={matchedFilters && this.handleFilterClick} {...other} /> |
|
|
|
<StatusActionBar scrollKey={scrollKey} status={status} account={account} onFilter={matchedFilters ? this.handleFilterClick : null} {...other} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</HotKeys> |
|
|
|