Skip to content

Commit

Permalink
Only show recommendation in interactive mode
Browse files Browse the repository at this point in the history
Signed-off-by: Wei-Chun, Chang <[email protected]>
  • Loading branch information
wcchang1115 committed Jan 15, 2025
1 parent 62a161b commit 37d0f22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/src/components/lineage/LineageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -797,8 +797,12 @@ export function PrivateLineageView(
style={{ contain: "strict" }}
position="relative"
>
{interactive && <LineageViewTopBar />}
<PresetCheckRecommendation />
{interactive && (
<>
<LineageViewTopBar />
<PresetCheckRecommendation />
</>
)}
<ReactFlow
nodeTypes={nodeTypes}
edgeTypes={edgeTypes}
Expand Down

0 comments on commit 37d0f22

Please sign in to comment.