Problems: deactivate tooltip with hint for tags

This commit is contained in:
Alexander Zobnin
2022-11-30 12:17:46 +01:00
parent 9b2079c1da
commit 8aebc649db

View File

@@ -109,15 +109,16 @@ export default class EventTag extends PureComponent<EventTagProps> {
borderColor: tagColor.borderColor, borderColor: tagColor.borderColor,
}; };
return ( return (
<Tooltip placement="bottom" content="Click to add tag filter or Ctrl/Shift+click to remove"> // TODO: show tooltip when click feature is fixed
<span // <Tooltip placement="bottom" content="Click to add tag filter or Ctrl/Shift+click to remove">
className={`label label-tag zbx-tag ${highlight ? 'highlighted' : ''}`} <span
style={style} className={`label label-tag zbx-tag ${highlight ? 'highlighted' : ''}`}
onClick={this.handleClick} style={style}
> onClick={this.handleClick}
{tag.value ? `${tag.tag}: ${tag.value}` : `${tag.tag}`} >
</span> {tag.value ? `${tag.tag}: ${tag.value}` : `${tag.tag}`}
</Tooltip> </span>
// </Tooltip>
); );
} }
} }