Skip to content

Commit 6d305ef

Browse files
committed
Fixes
1 parent 25841ae commit 6d305ef

File tree

2 files changed

+5
-1
lines changed
  • src/main/frontend

2 files changed

+5
-1
lines changed

src/main/frontend/common/components/tooltip.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import React from "react";
55
* A customized (and customizable) implementation of Tippy tooltips
66
*/
77
export default function Tooltip(props: TippyProps) {
8+
if (props.content === undefined) {
9+
return props.children;
10+
}
11+
812
return (
913
<Tippy
1014
content="hello"

src/main/frontend/pipeline-graph-view/pipeline-graph/main/support/nodes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function Node({ node, collapsed }: NodeProps) {
7373
};
7474

7575
return (
76-
<Tooltip content={collapsed ? title : null}>
76+
<Tooltip content={collapsed ? title : undefined}>
7777
<div {...groupProps}>
7878
{groupChildren}
7979
{clickable && (

0 commit comments

Comments
 (0)