chore(shared): Changes for recent core changes
This commit is contained in:
parent
f31a158398
commit
31a28d2faa
16 changed files with 56 additions and 58 deletions
|
@ -6,8 +6,8 @@ import {values} from 'shared/components/workbench/menu/design-options/option-val
|
|||
import {inputs} from 'shared/components/workbench/menu/design-options/option-input'
|
||||
|
||||
const Option = props => {
|
||||
const { t } = useTranslation([`o_${props.design.config.data.name}`])
|
||||
const opt = props.design.config.options[props.option];
|
||||
const { t } = useTranslation([`o_${props.design.designConfig.data.name}`])
|
||||
const opt = props.design.patternConfig.options[props.option];
|
||||
const type = optionType(opt)
|
||||
const Input = inputs[type]
|
||||
const Value = values[type]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue