mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
fix(client/options): missing ribbon widgets section in Appearance
This commit is contained in:
parent
e971a9cb03
commit
f442c56ed6
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user