Don't render tooltips without titles

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent db241e6b91
commit 47b32682f3
  1. 8
      ui/app/components/tooltip-v2.js

@ -38,6 +38,14 @@ export default class Tooltip extends PureComponent {
render () {
const {arrow, children, containerClassName, position, size, title, trigger, onHidden, wrapperClassName } = this.props
if (!title) {
return (
<div className={wrapperClassName}>
{children}
</div>
)
}
return (
<div className={wrapperClassName}>
<ReactTippy

Loading…
Cancel
Save