mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 19:52:28 +08:00
Update battachment.ts typo
This commit is contained in:
parent
d9d3613caf
commit
c419818006
@ -98,7 +98,7 @@ class BAttachment extends AbstractBeccaEntity<BAttachment> {
|
|||||||
|
|
||||||
/** @returns true if the note has string content (not binary) */
|
/** @returns true if the note has string content (not binary) */
|
||||||
hasStringContent(): boolean {
|
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() {
|
isContentAvailable() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user