mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
fix(widgets/toggle): double event triggering when in menu
This commit is contained in:
parent
efb2f9a048
commit
483327c808
@ -146,9 +146,10 @@ export function FormListToggleableItem({ title, currentValue, onChange, ...props
|
||||
}
|
||||
}}>
|
||||
<FormToggle
|
||||
switchOnName={title} switchOffName={title}
|
||||
switchOnName={title}
|
||||
switchOffName={title}
|
||||
currentValue={currentValue}
|
||||
onChange={onChange}
|
||||
onChange={() => {}}
|
||||
/>
|
||||
</FormListItem>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user