mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	fix(client): build error due to null
This commit is contained in:
		
							parent
							
								
									3855f0e75f
								
							
						
					
					
						commit
						c41fbe8e45
					
				| @ -248,7 +248,7 @@ export default class TabManager extends Component { | |||||||
|         await noteContext.setEmpty(); |         await noteContext.setEmpty(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     async openEmptyTab(ntxId = null, hoistedNoteId = "root", mainNtxId = null) { |     async openEmptyTab(ntxId = null, hoistedNoteId = "root", mainNtxId) { | ||||||
|         const noteContext = new NoteContext(ntxId, hoistedNoteId, mainNtxId); |         const noteContext = new NoteContext(ntxId, hoistedNoteId, mainNtxId); | ||||||
| 
 | 
 | ||||||
|         const existingNoteContext = this.children.find((nc) => nc.ntxId === noteContext.ntxId); |         const existingNoteContext = this.children.find((nc) => nc.ntxId === noteContext.ntxId); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran