Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Hide react button in search results as it doesn't work properly (#11996)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy authored Dec 4, 2023
1 parent 09fddc0 commit 85c0a95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/views/messages/MessageActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85c0a95

Please sign in to comment.