1
0
Fork 0

feat(shared): Better workbend nav. Closes #4272

This commit is contained in:
joostdecock 2023-06-15 09:23:49 +02:00
parent f2cc48039d
commit 7daad74964
18 changed files with 355 additions and 147 deletions

View file

@ -15,20 +15,7 @@ export const ControlSettingInput = (props) => {
)
}
const ViewInput = (props) => {
props.config.dflt = props.view
return (
<ListInput
{...props}
updateFunc={(path, newVal) => props.setView(newVal)}
current={props.view}
/>
)
}
export const inputs = {
renderer: ListInput,
inspect: BoolInput,
control: ControlSettingInput,
view: ViewInput,
}