mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
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:
parent
09fddc0676
commit
85c0a95fdf
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue