Skip to content

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

fix(notes): prevent meeting view from exiting when changing folder

Gabriel Steind1ad2b054569
diff --git a/src/components/notes/PersonalNotesView.tsx b/src/components/notes/PersonalNotesView.tsx
index eacab9d06..11164bb0c 100644
--- a/src/components/notes/PersonalNotesView.tsx
+++ b/src/components/notes/PersonalNotesView.tsx
@@ -346,10 +346,11 @@ export default function PersonalNotesView({
const handleMoveToFolder = useCallback(
async (noteId: number, folderId: number) => {
await window.electronAPI.updateNote(noteId, { folder_id: folderId });
- if (activeFolderId) await initializeNotes(null, 50, activeFolderId);
+ // During meeting mode, keep the note visible — don't re-filter by folder
+ if (activeFolderId && !isMeetingMode) await initializeNotes(null, 50, activeFolderId);
loadFolders();
},
- [activeFolderId, loadFolders]
+ [activeFolderId, isMeetingMode, loadFolders]
);
const { dragState, noteDragHandlers, folderDropHandlers } = useNoteDragAndDrop({
@@ -362,7 +363,7 @@ export default function PersonalNotesView({
const result = await window.electronAPI.createFolder(folderName);
if (result.success && result.folder) {
await window.electronAPI.updateNote(noteId, { folder_id: result.folder.id });
- if (activeFolderId) await initializeNotes(null, 50, activeFolderId);
+ if (activeFolderId && !isMeetingMode) await initializeNotes(null, 50, activeFolderId);
await loadFolders();
} else if (result.error) {
toast({
@@ -372,7 +373,7 @@ export default function PersonalNotesView({
});
}
},
- [activeFolderId, loadFolders, toast, t]
+ [activeFolderId, isMeetingMode, loadFolders, toast, t]
);
const handleApplyEnhancement = useCallback(