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 sattachment.ts -> Fix backend bug that prevented library items from loading
CobriMediaJulien3ed9f4e05640
diff --git a/src/share/shaca/entities/sattachment.ts b/src/share/shaca/entities/sattachment.tsindex dc0ad7953d..a442c42657 100644--- a/src/share/shaca/entities/sattachment.ts+++ b/src/share/shaca/entities/sattachment.ts@@ -62,7 +62,7 @@ class SAttachment extends AbstractShacaEntity {/** @returns true if the attachment has string content (not binary) */hasStringContent() {- return utils.isStringNote(null, this.mime);+ return utils.isStringNote(undefined, this.mime);}getPojo() {