We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7f6f5 commit 1c02d45Copy full SHA for 1c02d45
client/modules/IDE/reducers/files.js
@@ -227,7 +227,12 @@ const files = (state, action) => {
227
return file;
228
});
229
default:
230
- return state;
+ return state.map((file) => {
231
+ if (file.name === 'root') {
232
+ file.children = sortedChildrenId(state, file.children);
233
+ }
234
+ return file;
235
+ });
236
}
237
};
238
0 commit comments