mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	change order of ribbon tabs so that type specific ones are in front
This commit is contained in:
		
							parent
							
								
									e09b2902fa
								
							
						
					
					
						commit
						1ad25b063d
					
				@ -126,13 +126,13 @@ export default class DesktopLayout {
 | 
			
		||||
                                .child(
 | 
			
		||||
                                    new RibbonContainer()
 | 
			
		||||
                                        .ribbon(new SearchDefinitionWidget())
 | 
			
		||||
                                        .ribbon(new BasicPropertiesWidget())
 | 
			
		||||
                                        .ribbon(new EditedNotesWidget())
 | 
			
		||||
                                        .ribbon(new BookPropertiesWidget())
 | 
			
		||||
                                        .ribbon(new NotePropertiesWidget())
 | 
			
		||||
                                        .ribbon(new FilePropertiesWidget())
 | 
			
		||||
                                        .ribbon(new ImagePropertiesWidget())
 | 
			
		||||
                                        .ribbon(new PromotedAttributesWidget())
 | 
			
		||||
                                        .ribbon(new BasicPropertiesWidget())
 | 
			
		||||
                                        .ribbon(new OwnedAttributeListWidget())
 | 
			
		||||
                                        .ribbon(new InheritedAttributesWidget())
 | 
			
		||||
                                        .ribbon(new NotePathsWidget())
 | 
			
		||||
 | 
			
		||||
@ -39,7 +39,7 @@ async function getRenderedContent(note, options = {}) {
 | 
			
		||||
            let childNoteIds = note.getChildNoteIds();
 | 
			
		||||
 | 
			
		||||
            if (childNoteIds.length > 10) {
 | 
			
		||||
                childNoteIds = childNoteIds.substr(0, 10);
 | 
			
		||||
                childNoteIds = childNoteIds.slice(0, 10);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // just load the first 10 child notes
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user