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
Update apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx
Lucas0cf23c7d7c15
diff --git a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsxindex 04fd78829e..9a1c1dd4e7 100644--- a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx+++ b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx@@ -77,7 +77,7 @@ export default function SvgSplitEditor({ ntxId, note, attachmentName, renderSvg,if (!attachments.find((a) => a.title === `${attachmentName}.svg`)) {onSave();}- });+ }).catch(e => console.error("Failed to get attachments for SVGSplitEditor", e));}, [ note, svg, attachmentName, onSave ]);// Import/export