+
+ {:else}
+
+
+
+
+ {#if searchState.error}
+ Please select a project first to search its work graph.
+
+
+ {:else if searchState.results.length === 0}
+ Enter a search term to find nodes across the work graph.
+
+
+ {:else}
+ No nodes found matching "{searchState.query}".
+
+
+ {searchState.results.length}
+ {searchState.results.length === 1 ? 'result' : 'results'}
+ {#if searchState.nodeTypeFilter}
+ for type "{searchState.nodeTypeFilter}"
+ {/if}
+
+
+
+
+ {#each searchState.results as node (node.id)}
+
+ {/each}
+
+ {/if}
+ {/if}
+