Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(spreadsheet): allow source to be viewed
Elian Doranf32130d5c22e
diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsxindex 290306c340..7810cfe1ae 100644--- a/apps/client/src/widgets/ribbon/NoteActions.tsx+++ b/apps/client/src/widgets/ribbon/NoteActions.tsx@@ -85,7 +85,7 @@ export function NoteContextMenu({ note, noteContext, itemsAtStart, itemsNearNote);const isElectron = getIsElectron();const isMac = getIsMac();- const hasSource = ["text", "code", "relationMap", "mermaid", "canvas", "mindMap"].includes(noteType);+ const hasSource = ["text", "code", "relationMap", "mermaid", "canvas", "mindMap", "spreadsheet"].includes(noteType);const isSearchOrBook = ["search", "book"].includes(noteType);const isHelpPage = note.noteId.startsWith("_help");const [syncServerHost] = useTriliumOption("syncServerHost");