Skip to content

Commit 6ea0526

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

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
@@ -993,9 +993,15 @@ const ClipboardPageSection = ({
993993
</div>
994994
) : visibleGroupedNodes.length === 0 ? (
995995
<div className="rounded border border-dashed border-gray-200 p-2">
996+
996997
{searchQuery || selectedNodeType !== "All"
997-
? "No nodes match the current filters."
998+
? showNodesOnCanvas
999+
? "No nodes match the current filters."
1000+
: "No nodes match the current filters, or matching nodes are already on canvas. Turn on \"Show nodes on canvas\" to view them."
1001+
: showNodesOnCanvas
1002+
? "All nodes from this page are already on canvas."
9981003
: 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.'}
1004+
9991005
</div>
10001006
) : (
10011007
<div className="space-y-1">

0 commit comments

Comments
 (0)