You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
hide badge when context menu is open
This commit is contained in:
@@ -143,7 +143,7 @@ export default createReactClass({
|
|||||||
|
|
||||||
const badge = TagOrderStore.getGroupBadge(this.props.tag);
|
const badge = TagOrderStore.getGroupBadge(this.props.tag);
|
||||||
let badgeElement;
|
let badgeElement;
|
||||||
if (badge && !this.state.hover) {
|
if (badge && !this.state.hover && !this.props.menuDisplayed) {
|
||||||
const badgeClasses = classNames({
|
const badgeClasses = classNames({
|
||||||
"mx_TagTile_badge": true,
|
"mx_TagTile_badge": true,
|
||||||
"mx_TagTile_badgeHighlight": badge.highlight,
|
"mx_TagTile_badgeHighlight": badge.highlight,
|
||||||
|
|||||||
Reference in New Issue
Block a user