fix(lab): Handle mm options gracefully
This commit is contained in:
parent
503e553c15
commit
8b3cc99ebb
2 changed files with 3 additions and 4 deletions
|
@ -13,9 +13,7 @@ const Option = props => {
|
|||
const Value = values[type]
|
||||
const hide = opt.hide && opt.hide(props.draft.settings);
|
||||
|
||||
if (hide) {
|
||||
return <Li></Li>
|
||||
}
|
||||
if (hide) return <Li></Li>
|
||||
|
||||
if (type === 'bool') {
|
||||
const toggleBoolean = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue