mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix clipper, closes #752
This commit is contained in:
		| @@ -34,7 +34,8 @@ async function addClipping(req) { | ||||
|         clippingNote = (await noteService.createNewNote({ | ||||
|             parentNoteId: todayNote.noteId, | ||||
|             title: title, | ||||
|             content: '' | ||||
|             content: '', | ||||
|             type: 'text' | ||||
|         })).note; | ||||
|  | ||||
|         await clippingNote.setLabel('clipType', 'clippings'); | ||||
| @@ -58,7 +59,8 @@ async function createNote(req) { | ||||
|     const {note} = await noteService.createNewNote({ | ||||
|         parentNoteId: todayNote.noteId, | ||||
|         title, | ||||
|         content | ||||
|         content, | ||||
|         type: 'text' | ||||
|     }); | ||||
|  | ||||
|     await note.setLabel('clipType', clipType); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user