Skip to content

Commit dcc2a45

Browse files
JamesAliasmarkusguenther
authored andcommitted
TASK: Sort DimensionSwitcher groups asc
1 parent 3c7648f commit dcc2a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class DimensionSelector extends PureComponent {
5454
}
5555
);
5656

57-
const sortedPresetOptions = sortBy(presetOptions, ['label']);
57+
const sortedPresetOptions = sortBy(presetOptions, ['group', 'label']);
5858

5959
const onPresetSelect = presetName => {
6060
onSelect(dimensionName, presetName);

0 commit comments

Comments
 (0)