Update sattachment.ts -> Fix backend bug that prevented library items from loading

This commit is contained in:
CobriMediaJulien 2024-12-15 15:54:26 +01:00 committed by GitHub
parent ee4fe05cd1
commit 3ed9f4e056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() {