mirror of
https://github.com/zadam/trilium.git
synced 2026-01-15 19:14:30 +01:00
fix(client): request to recent changes for undefined note
This commit is contained in:
parent
3a793a3549
commit
9e3b4435cd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user