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

This commit is contained in:
G30
2026-06-29 04:48:22 -04:00
committed by GitHub
parent a66477b710
commit b05be8a907
2 changed files with 2 additions and 0 deletions
@@ -622,6 +622,7 @@ ${content}
});
if (res) {
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
toast.success($i18n.t('Note deleted successfully'));
goto('/notes');
} else {
+1
View File
@@ -111,6 +111,7 @@
});
if (res) {
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
init();
}
};