mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	feat(client): hide language for non-text notes
This commit is contained in:
		
							parent
							
								
									642b84ce6b
								
							
						
					
					
						commit
						fd652ea7a5
					
				@ -124,5 +124,6 @@ export default class BasicPropertiesWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.$widget.find(".editability-select-container").toggle(this.note && ["text", "code"].includes(this.note.type));
 | 
					        this.$widget.find(".editability-select-container").toggle(this.note && ["text", "code"].includes(this.note.type));
 | 
				
			||||||
 | 
					        this.$widget.find(".note-language-container").toggle(this.note && ["text"].includes(this.note.type));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user