mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +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) */ | ||||
|     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() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 CobriMediaJulien
						CobriMediaJulien