mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	feat(tasks): trim task name
This commit is contained in:
		
							parent
							
								
									d0c703515b
								
							
						
					
					
						commit
						2ea85dc238
					
				| @ -9,7 +9,7 @@ interface CreateNewTasksOpts { | ||||
| export async function createNewTask({ parentNoteId, title }: CreateNewTasksOpts) { | ||||
|     await server.post(`tasks`, { | ||||
|         parentNoteId, | ||||
|         title | ||||
|         title: title.trim() | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran