mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 13:47:26 +08:00
fix(note_language): no separator when no languages
This commit is contained in:
parent
ddd0c3a878
commit
e795caa2f3
1 changed files with 1 additions and 3 deletions
|
|
@ -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("---");
|
||||
}
|
||||
locales.push("---");
|
||||
return locales;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue