fix(notes): refresh pinned notes sidebar when a note is deleted (#25640)

This commit is contained in:
G30 authored and GitHub committed 2026-06-29 03:48:22 -05:00
1 parent a66477b710
commit b05be8a907
2 files changed
+2

No files matched your search

@@ -622,6 +622,7 @@ ${content}
}); });
if (res) { if (res) {
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
toast.success($i18n.t('Note deleted successfully')); toast.success($i18n.t('Note deleted successfully'));
goto('/notes'); goto('/notes');
} else { } else {
+1
View File
@@ -111,6 +111,7 @@
}); });
if (res) { if (res) {
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
init(); init();
} }
}; };