mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	fix bugs
This commit is contained in:
		
							parent
							
								
									29769ed91d
								
							
						
					
					
						commit
						9b5a44cef4
					
				@ -104,7 +104,7 @@ const contextMenuOptions = {
 | 
			
		||||
    ],
 | 
			
		||||
    beforeOpen: async (event, ui) => {
 | 
			
		||||
        const node = $.ui.fancytree.getNode(ui.target);
 | 
			
		||||
        const branch = await treeCache.getBranch(branchId);
 | 
			
		||||
        const branch = await treeCache.getBranch(node.data.branchId);
 | 
			
		||||
        const note = await treeCache.getNote(node.data.noteId);
 | 
			
		||||
        const parentNote = await treeCache.getNote(branch.parentNoteId);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -55,7 +55,7 @@ async function forceNoteSync(req) {
 | 
			
		||||
    syncService.sync();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async function getChanged() {
 | 
			
		||||
async function getChanged(req) {
 | 
			
		||||
    const lastSyncId = parseInt(req.query.lastSyncId);
 | 
			
		||||
 | 
			
		||||
    return await sql.getRows("SELECT * FROM sync WHERE id > ?", [lastSyncId]);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user