Hide react button in search results as it doesn't work properly (#11996)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -466,7 +466,8 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
|||||||
</RovingAccessibleTooltipButton>,
|
</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(
|
toolbarOpts.splice(
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user