mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +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 /> }
|
{isElectron() && <ElectronIntegration /> }
|
||||||
<Performance />
|
<Performance />
|
||||||
<MaxContentWidth />
|
<MaxContentWidth />
|
||||||
|
<RibbonOptions />
|
||||||
<RelatedSettings items={[
|
<RelatedSettings items={[
|
||||||
{
|
{
|
||||||
title: t("settings_appearance.related_code_blocks"),
|
title: t("settings_appearance.related_code_blocks"),
|
||||||
@ -305,3 +306,16 @@ function MaxContentWidth() {
|
|||||||
</OptionsSection>
|
</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