mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
chore(react): fix configure languages open in background
This commit is contained in:
@@ -330,7 +330,10 @@ function NoteLanguageSwitch({ note }: { note?: FNote | null }) {
|
||||
})}
|
||||
|
||||
<FormListItem
|
||||
onClick={() => appContext.tabManager.openContextWithNote("_optionsLocalization", { activate: true })}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
appContext.tabManager.openContextWithNote("_optionsLocalization", { activate: true });
|
||||
}}
|
||||
>{t("note_language.configure-languages")}</FormListItem>
|
||||
</Dropdown>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user