Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Update apps/client/src/widgets/search_result.tsx
Elian Doran403440608e39
diff --git a/apps/client/src/widgets/search_result.tsx b/apps/client/src/widgets/search_result.tsxindex 42f5e1b58b..7a9d715517 100644--- a/apps/client/src/widgets/search_result.tsx+++ b/apps/client/src/widgets/search_result.tsx@@ -106,7 +106,7 @@ function useSavedSearchRun({ noteContext, ntxId, parentComponent }: SearchRunContext) {const hasTabBeenShown = useHasTabBeenShown(noteContext);- // A note runs at most once at a time, so a finished run removes only its own note.+ // Tracks in-flight searches started by this hook by note ID.const [ runningNoteIds, setRunningNoteIds ] = useState<ReadonlySet<string>>(new Set());const autoRunNoteId = useRef<string | undefined>(undefined);