mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	Merge branch 'stable'
This commit is contained in:
		
						commit
						2f3b256272
					
				
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "trilium",
 | 
			
		||||
  "version": "0.33.3",
 | 
			
		||||
  "version": "0.33.4",
 | 
			
		||||
  "lockfileVersion": 1,
 | 
			
		||||
  "requires": true,
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,7 @@
 | 
			
		||||
  "name": "trilium",
 | 
			
		||||
  "productName": "Trilium Notes",
 | 
			
		||||
  "description": "Trilium Notes",
 | 
			
		||||
  "version": "0.33.3",
 | 
			
		||||
  "version": "0.33.4",
 | 
			
		||||
  "license": "AGPL-3.0-only",
 | 
			
		||||
  "main": "electron.js",
 | 
			
		||||
  "bin": {
 | 
			
		||||
 | 
			
		||||
@ -102,7 +102,7 @@ async function deleteNodes(nodes) {
 | 
			
		||||
        next = nodes[0].getPrevSibling();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!next && !hoistedNoteService.isTopLevelNode(nodes[0])) {
 | 
			
		||||
    if (!next && !await hoistedNoteService.isTopLevelNode(nodes[0])) {
 | 
			
		||||
        next = nodes[0].getParent();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -630,7 +630,8 @@ async function createNote(node, parentNoteId, target, extraOptions = {}) {
 | 
			
		||||
        extraClasses: await treeBuilder.getExtraClasses(noteEntity),
 | 
			
		||||
        icon: await treeBuilder.getIcon(noteEntity),
 | 
			
		||||
        folder: extraOptions.type === 'search',
 | 
			
		||||
        lazy: true
 | 
			
		||||
        lazy: true,
 | 
			
		||||
        key: utils.randomString(12) // this should prevent some "duplicate key" errors
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    if (target === 'after') {
 | 
			
		||||
 | 
			
		||||
@ -83,7 +83,8 @@ async function prepareNode(branch) {
 | 
			
		||||
        icon: await getIcon(note),
 | 
			
		||||
        refKey: note.noteId,
 | 
			
		||||
        expanded: branch.isExpanded || hoistedNoteId === note.noteId,
 | 
			
		||||
        lazy: true
 | 
			
		||||
        lazy: true,
 | 
			
		||||
        key: utils.randomString(12) // this should prevent some "duplicate key" errors
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    if (note.hasChildren() || note.type === 'search') {
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
module.exports = { buildDate:"2019-06-24T20:47:50+02:00", buildRevision: "1b831f94a98dbbb7184048f329ea89175841dec2" };
 | 
			
		||||
module.exports = { buildDate:"2019-06-26T21:20:30+02:00", buildRevision: "a3951f1cce978699d81f312c590d71f6ca4c6771" };
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user