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
fix(client): request to recent changes for undefined note
Elian Doran9e3b4435cd2a
diff --git a/apps/client/src/widgets/dialogs/recent_changes.tsx b/apps/client/src/widgets/dialogs/recent_changes.tsxindex 60de8b1b0a..d0c26d2d46 100644--- a/apps/client/src/widgets/dialogs/recent_changes.tsx+++ b/apps/client/src/widgets/dialogs/recent_changes.tsx@@ -27,6 +27,7 @@ export default function RecentChangesDialog() {});useEffect(() => {+ if (!ancestorNoteId) return;server.get<RecentChangeRow[]>(`recent-changes/${ancestorNoteId}`).then(async (recentChanges) => {// preload all notes into cache