File tree Expand file tree Collapse file tree
apps/roam/src/components/canvas Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -992,15 +992,13 @@ const ClipboardPageSection = ({
992992 </ div >
993993 ) : visibleGroupedNodes . length === 0 ? (
994994 < div className = "rounded border border-dashed border-gray-200 p-2" >
995-
996995 { searchQuery || selectedNodeType !== "All"
997996 ? showNodesOnCanvas
998997 ? "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."
998+ : ' No nodes match the current filters, or matching nodes are already on canvas. Turn on "Show nodes on canvas" to view them.'
1000999 : showNodesOnCanvas
1001- ? "All nodes from this page are already on canvas."
1002- : 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.' }
1003-
1000+ ? "All nodes from this page are already on canvas."
1001+ : 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.' }
10041002 </ div >
10051003 ) : (
10061004 < div className = "space-y-1" >
@@ -1167,7 +1165,10 @@ export const ClipboardPanel = () => {
11671165 } , [ nodeTypesByPage , pages ] ) ;
11681166
11691167 useEffect ( ( ) => {
1170- if ( selectedNodeType !== "All" && ! availableNodeTypes . includes ( selectedNodeType ) ) {
1168+ if (
1169+ selectedNodeType !== "All" &&
1170+ ! availableNodeTypes . includes ( selectedNodeType )
1171+ ) {
11711172 setSelectedNodeType ( "All" ) ;
11721173 }
11731174 } , [ availableNodeTypes , selectedNodeType ] ) ;
You can’t perform that action at this time.
0 commit comments