[Glitch] Fix case where boolean was passed to onFilter on StatusActionBar
Port ae20601c67
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
parent
98594fd4e4
commit
4116cc4e83
|
@ -790,7 +790,7 @@ class Status extends ImmutablePureComponent {
|
||||||
status={status}
|
status={status}
|
||||||
account={status.get('account')}
|
account={status.get('account')}
|
||||||
showReplyCount={settings.get('show_reply_count')}
|
showReplyCount={settings.get('show_reply_count')}
|
||||||
onFilter={matchedFilters && this.handleFilterClick}
|
onFilter={matchedFilters ? this.handleFilterClick : null}
|
||||||
{...other}
|
{...other}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
Loading…
Reference in New Issue