mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	removed logging
This commit is contained in:
		
							parent
							
								
									31b3af4129
								
							
						
					
					
						commit
						c6614bc85b
					
				| @ -150,14 +150,9 @@ function handleMaybeSortingLabel(entity) { | |||||||
|     // this will not work on deleted notes, but in that case we don't really need to re-sort
 |     // this will not work on deleted notes, but in that case we don't really need to re-sort
 | ||||||
|     if (note) { |     if (note) { | ||||||
|         for (const parentNote of note.getParentNotes()) { |         for (const parentNote of note.getParentNotes()) { | ||||||
|             console.log("PAR", parentNote.noteId); |  | ||||||
|             const sorted = parentNote.getLabelValue("sorted"); |             const sorted = parentNote.getLabelValue("sorted"); | ||||||
| 
 | 
 | ||||||
|             console.log("sorted", sorted); |  | ||||||
| 
 |  | ||||||
|             if (sorted?.includes(entity.name)) { // hacky check if the sorting is affected by this label
 |             if (sorted?.includes(entity.name)) { // hacky check if the sorting is affected by this label
 | ||||||
|                 console.log("RESIRT!"); |  | ||||||
| 
 |  | ||||||
|                 treeService.sortNotesIfNeeded(parentNote.noteId); |                 treeService.sortNotesIfNeeded(parentNote.noteId); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam