Skip to content

Commit 9c8a8a4

Browse files
Sort nested folders in existing sketch
1 parent 1c02d45 commit 9c8a8a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

client/modules/IDE/reducers/files.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ const files = (state, action) => {
228228
});
229229
default:
230230
return state.map((file) => {
231-
if (file.name === 'root') {
232-
file.children = sortedChildrenId(state, file.children);
233-
}
231+
file.children = sortedChildrenId(state, file.children);
234232
return file;
235233
});
236234
}

0 commit comments

Comments
 (0)