Fix wrong nav settings being updated
This commit is contained in:
parent
d14cfbb0ab
commit
cecd5a1908
|
@ -91,12 +91,12 @@
|
||||||
label="Sticky header"
|
label="Sticky header"
|
||||||
control={Checkbox}
|
control={Checkbox}
|
||||||
value={$nav.sticky}
|
value={$nav.sticky}
|
||||||
onChange={width => update("navWidth", width)}
|
onChange={sticky => update("sticky", sticky)}
|
||||||
/>
|
/>
|
||||||
<PropertyControl
|
<PropertyControl
|
||||||
label="Width"
|
label="Width"
|
||||||
control={Select}
|
control={Select}
|
||||||
onChange={position => update("navigation", position)}
|
onChange={position => update("navWidth", position)}
|
||||||
value={$nav.navWidth}
|
value={$nav.navWidth}
|
||||||
props={{
|
props={{
|
||||||
placeholder: null,
|
placeholder: null,
|
||||||
|
|
Loading…
Reference in New Issue