Problems: deactivate tooltip with hint for tags
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user