mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	chore(client): remove logs
This commit is contained in:
		
							parent
							
								
									11631687ff
								
							
						
					
					
						commit
						42e4c7800a
					
				| @ -35,7 +35,6 @@ async function getRenderedContent(this: {} | { ctx: string }, entity: FNote, opt | |||||||
|     // attachment supports only image and file/pdf/audio/video
 |     // attachment supports only image and file/pdf/audio/video
 | ||||||
| 
 | 
 | ||||||
|     const $renderedContent = $('<div class="rendered-content">'); |     const $renderedContent = $('<div class="rendered-content">'); | ||||||
|     console.log(type); |  | ||||||
| 
 | 
 | ||||||
|     if (type === 'text') { |     if (type === 'text') { | ||||||
|         await renderText(entity, $renderedContent); |         await renderText(entity, $renderedContent); | ||||||
| @ -289,7 +288,6 @@ function getRenderingType(entity: FNote | FAttachment) { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     const mime = ("mime" in entity && entity.mime); |     const mime = ("mime" in entity && entity.mime); | ||||||
|     console.log("MIME ", mime); |  | ||||||
| 
 | 
 | ||||||
|     if (type === 'file' && mime === 'application/pdf') { |     if (type === 'file' && mime === 'application/pdf') { | ||||||
|         type = 'pdf'; |         type = 'pdf'; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran