Skip to content

Commit

Permalink
add links when there are no plots in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed May 16, 2022
1 parent 16a0c2b commit fcf5f12
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions webview/src/plots/components/GetStarted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ export const GetStarted = ({
)}
</div>
)}
{!hasPlots && (
<div>
<p>
<text>
{'Learn how to '}
<a href="https://dvc.org/doc/studio/user-guide/views/visualize-experiments">
visualize experiments
</a>
{' with DVC.'}
</text>
</p>
<text>
{'Learn about the '}
<a href="https://dvc.org/doc/command-reference/plots">
plots command
</a>
.
</text>
</div>
)}
</div>
</EmptyState>
)
Expand Down

0 comments on commit fcf5f12

Please sign in to comment.