hide badge when context menu is open
This commit is contained in:
parent
fc5a5c411f
commit
a84a3c4780
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue