Skip to content

Commit 798cf71

Browse files
Merge pull request #819 from MetaCell/bug/208-widgets-order
Widget Order
2 parents f05dd9f + c3b9bce commit 798cf71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webapp/components/drawer/Drawer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ const DrawerList = ({
138138
function getMenu () {
139139
const [modelDrawerItems, toolsDrawerItems] = [[], []];
140140
// eslint-disable-next-line array-callback-return
141-
Object.values(widgets).sort((w1, w2) => w1.pos - w2.pos).filter((widget) => {
141+
Object.values(widgets)
142+
//.sort((w1, w2) => w1.pos - w2.pos)
143+
.filter((widget) => {
142144
widget.specification !== TOOLS_LIST
143145
? modelDrawerItems.push(widget) : toolsDrawerItems.push(widget);
144146
});

0 commit comments

Comments
 (0)