From e795caa2f3e35a2d713f528fb79fcff397cde4e5 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 6 Mar 2025 20:50:58 +0200 Subject: [PATCH] fix(note_language): no separator when no languages --- src/public/app/widgets/note_language.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/public/app/widgets/note_language.ts b/src/public/app/widgets/note_language.ts index 457091225..e582a54f2 100644 --- a/src/public/app/widgets/note_language.ts +++ b/src/public/app/widgets/note_language.ts @@ -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; }