Skip to content

Commit 0b21b8b

Browse files
Apply suggestion from @graphite-app[bot]
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent 1a2658b commit 0b21b8b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/roam/src/components/canvas/Clipboard.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,9 +992,15 @@ const ClipboardPageSection = ({
992992
</div>
993993
) : visibleGroupedNodes.length === 0 ? (
994994
<div className="rounded border border-dashed border-gray-200 p-2">
995+
995996
{searchQuery || selectedNodeType !== "All"
996-
? "No nodes match the current filters."
997+
? showNodesOnCanvas
998+
? "No nodes match the current filters."
999+
: "No nodes match the current filters, or matching nodes are already on canvas. Turn on \"Show nodes on canvas\" to view them."
1000+
: showNodesOnCanvas
1001+
? "All nodes from this page are already on canvas."
9971002
: 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.'}
1003+
9981004
</div>
9991005
) : (
10001006
<div className="space-y-1">

0 commit comments

Comments
 (0)