feat(ai_chat): allow viewing source of the ai chat

This commit is contained in:
Elian Doran
2025-10-05 14:23:24 +03:00
parent b0c984decd
commit 269c7c9ce7
2 changed files with 1 additions and 185 deletions

View File

@@ -50,7 +50,7 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not
const isPrintable = ["text", "code"].includes(note.type);
const isElectron = getIsElectron();
const isMac = getIsMac();
const hasSource = ["text", "code", "relationMap", "mermaid", "canvas", "mindMap"].includes(note.type);
const hasSource = ["text", "code", "relationMap", "mermaid", "canvas", "mindMap", "aiChat"].includes(note.type);
const isSearchOrBook = ["search", "book"].includes(note.type);
return (