diff --git a/src/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.tsx b/src/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.tsx index b94db442fe..6abc543482 100644 --- a/src/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.tsx +++ b/src/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.tsx @@ -21,9 +21,9 @@ import './DialogMetricSettings.scss'; const i18n = I18n.keyset('container.metric-dialog'); -const SIZES = ['xl', 'l', 'm', 's']; +const SIZES = ['s', 'm', 'l', 'xl']; const DEFAULT_SIZE = 'm'; -const RADIO_TEXT = ['L', 'M', 'S', 'XS']; +const RADIO_TEXT = ['XS', 'S', 'M', 'L']; const b = block('dialog-metric-settings'); diff --git a/src/ui/units/wizard/components/Dialogs/Settings/Settings.tsx b/src/ui/units/wizard/components/Dialogs/Settings/Settings.tsx index 1e1eb73e70..0facfb1a41 100644 --- a/src/ui/units/wizard/components/Dialogs/Settings/Settings.tsx +++ b/src/ui/units/wizard/components/Dialogs/Settings/Settings.tsx @@ -577,7 +577,7 @@ class DialogSettings extends React.PureComponent { return null; } - const sizes = Object.values(WidgetSize); + const sizes = [WidgetSize.S, WidgetSize.M, WidgetSize.L]; const selected = this.state.size ?? DEFAULT_WIDGET_SIZE; return (