Fix wrong nav settings being updated

This commit is contained in:
Andrew Kingston 2024-03-26 16:08:55 +00:00
parent d14cfbb0ab
commit cecd5a1908
1 changed files with 2 additions and 2 deletions

View File

@ -91,12 +91,12 @@
label="Sticky header"
control={Checkbox}
value={$nav.sticky}
onChange={width => update("navWidth", width)}
onChange={sticky => update("sticky", sticky)}
/>
<PropertyControl
label="Width"
control={Select}
onChange={position => update("navigation", position)}
onChange={position => update("navWidth", position)}
value={$nav.navWidth}
props={{
placeholder: null,