mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	client-ts: Fix build errors in froca
This commit is contained in:
		
							parent
							
								
									efaa1f47f7
								
							
						
					
					
						commit
						c5113d9881
					
				| @ -1,6 +1,6 @@ | |||||||
| import FBranch from "../entities/fbranch.js"; | import FBranch, { FBranchRow } from "../entities/fbranch.js"; | ||||||
| import FNote from "../entities/fnote.js"; | import FNote, { FNoteRow } from "../entities/fnote.js"; | ||||||
| import FAttribute from "../entities/fattribute.js"; | import FAttribute, { FAttributeRow } from "../entities/fattribute.js"; | ||||||
| import server from "./server.js"; | import server from "./server.js"; | ||||||
| import appContext from "../components/app_context.js"; | import appContext from "../components/app_context.js"; | ||||||
| import FBlob, { FBlobRow } from "../entities/fblob.js"; | import FBlob, { FBlobRow } from "../entities/fblob.js"; | ||||||
| @ -206,7 +206,7 @@ class FrocaImpl implements Froca { | |||||||
|             froca.notes[note.noteId].childToBranch = {}; |             froca.notes[note.noteId].childToBranch = {}; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         const branches = [...note.getParentBranches(), ...note.getChildBranches()]; |         const branches: FBranchRow[] = [...note.getParentBranches(), ...note.getChildBranches()]; | ||||||
| 
 | 
 | ||||||
|         searchResultNoteIds.forEach((resultNoteId, index) => branches.push({ |         searchResultNoteIds.forEach((resultNoteId, index) => branches.push({ | ||||||
|             // branchId should be repeatable since sometimes we reload some notes without rerendering the tree
 |             // branchId should be repeatable since sometimes we reload some notes without rerendering the tree
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran