Skip to content

Build your personal knowledge base with Trilium Notes

fix(client/options): missing ribbon widgets section in Appearance

Elian Doranf442c56ed6aa
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index e3ba25440b..233186ffeb 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -90,6 +90,7 @@ export default function AppearanceSettings() {
{isElectron() && <ElectronIntegration /> }
<Performance />
<MaxContentWidth />
+ <RibbonOptions />
<RelatedSettings items={[
{
title: t("settings_appearance.related_code_blocks"),
@@ -305,3 +306,16 @@ function MaxContentWidth() {
</OptionsSection>
)
}
+
+function RibbonOptions() {
+ const [ editedNotesOpenInRibbon, setEditedNotesOpenInRibbon ] = useTriliumOptionBool("editedNotesOpenInRibbon");
+
+ return (
+ <OptionsSection title={t('ribbon.widgets')}>
+ <FormCheckbox
+ label={t('ribbon.edited_notes_message')}
+ currentValue={editedNotesOpenInRibbon} onChange={setEditedNotesOpenInRibbon}
+ />
+ </OptionsSection>
+ )
+}