Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(agent): refetch notes when opening a note in a different folder

Gabriel Stein698beeba3f98
diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsx
index 2cfdd1c80..26f487066 100644
--- a/src/components/ControlPanel.tsx
+++ b/src/components/ControlPanel.tsx
@@ -234,7 +234,10 @@ export default function ControlPanel() {
useEffect(() => {
const cleanup = window.electronAPI?.onNavigateToNote?.((data) => {
- if (data.folderId) setActiveFolderId(data.folderId);
+ if (data.folderId) {
+ setActiveFolderId(data.folderId);
+ initializeNotes(null, 50, data.folderId);
+ }
setActiveNoteId(data.noteId);
setActiveView("personal-notes");
});