Update battachment.ts typo

This commit is contained in:
CobriMediaJulien 2024-12-15 16:54:39 +01:00 committed by GitHub
parent d9d3613caf
commit c419818006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ class BAttachment extends AbstractBeccaEntity<BAttachment> {
/** @returns true if the note has string content (not binary) */
hasStringContent(): boolean {
return this.type utils.isStringNote(this.type, this.mime); // here was !== undefined && utils.isStringNote(this.type, this.mime); I dont know why we need !=undefined. But it filters out canvas libary items
return utils.isStringNote(this.type, this.mime); // here was !== undefined && utils.isStringNote(this.type, this.mime); I dont know why we need !=undefined. But it filters out canvas libary items
}
isContentAvailable() {