Hide react button in search results as it doesn't work properly (#11996)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28217/head
parent
09fddc0676
commit
85c0a95fdf
|
@ -466,7 +466,8 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
|||
</RovingAccessibleTooltipButton>,
|
||||
);
|
||||
}
|
||||
if (this.context.canReact) {
|
||||
// We hide the react button in search results as we don't show reactions in results
|
||||
if (this.context.canReact && !this.context.search) {
|
||||
toolbarOpts.splice(
|
||||
0,
|
||||
0,
|
||||
|
|
Loading…
Reference in New Issue