Skip to content
Snippets Groups Projects
Unverified Commit 66b8abf2 authored by Takeshi Umeda's avatar Takeshi Umeda Committed by GitHub
Browse files

Fix case where boolean was passed to onFilter on StatusActionBar (#18923)

parent af9c9936
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment