fix(client): request to recent changes for undefined note

This commit is contained in:
Elian Doran 2026-01-07 16:43:11 +02:00
parent 3a793a3549
commit 9e3b4435cd
No known key found for this signature in database

View File

@ -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