diff --git a/sites/shared/components/workbench/menu/design-options/option-input.js b/sites/shared/components/workbench/menu/design-options/option-input.js index 9a4fd7f8849..641f4a6d09f 100644 --- a/sites/shared/components/workbench/menu/design-options/option-input.js +++ b/sites/shared/components/workbench/menu/design-options/option-input.js @@ -1,6 +1,7 @@ import PctDegOption from 'shared/components/workbench/inputs/design-option-pct-deg' import CountOption from 'shared/components/workbench/inputs/design-option-count' import ListOption from 'shared/components/workbench/inputs/design-option-list' +import Popout from 'shared/components/popout' export const Tmp = props =>

not yet

@@ -9,6 +10,6 @@ export const inputs = { count: CountOption, deg: props => (), list: ListOption, - mm: (

Mm options are not supported. Please report this.

), + mm: () => Mm options are deprecated. Please report this, constant: Tmp, } diff --git a/sites/shared/components/workbench/menu/design-options/option.js b/sites/shared/components/workbench/menu/design-options/option.js index 67a7c00137a..127db7e01ee 100644 --- a/sites/shared/components/workbench/menu/design-options/option.js +++ b/sites/shared/components/workbench/menu/design-options/option.js @@ -13,9 +13,7 @@ const Option = props => { const Value = values[type] const hide = opt.hide && opt.hide(props.draft.settings); - if (hide) { - return
  • - } + if (hide) return
  • if (type === 'bool') { const toggleBoolean = () => {