From 3ed9f4e056402bb0fe11ec901c1b06ee4dee8ba8 Mon Sep 17 00:00:00 2001 From: CobriMediaJulien <56324041+CobriMediaJulien@users.noreply.github.com> Date: Sun, 15 Dec 2024 15:54:26 +0100 Subject: [PATCH] Update sattachment.ts -> Fix backend bug that prevented library items from loading --- src/share/shaca/entities/sattachment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/shaca/entities/sattachment.ts b/src/share/shaca/entities/sattachment.ts index dc0ad7953..a442c4265 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() {