mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	fix(note_language): no separator when no languages
This commit is contained in:
		
							parent
							
								
									ddd0c3a878
								
							
						
					
					
						commit
						e795caa2f3
					
				@ -160,9 +160,7 @@ export default class NoteLanguageWidget extends NoteContextAwareWidget {
 | 
			
		||||
 | 
			
		||||
        // This will separate the list of languages from the "Configure languages" button.
 | 
			
		||||
        // If there is at least one language.
 | 
			
		||||
        if (locales.length > 2) {
 | 
			
		||||
        locales.push("---");
 | 
			
		||||
        }
 | 
			
		||||
        return locales;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user