Sort nested folders in existing sketch
This commit is contained in:
parent
1c02d45fd7
commit
9c8a8a4110
1 changed files with 1 additions and 3 deletions
|
@ -228,9 +228,7 @@ const files = (state, action) => {
|
|||
});
|
||||
default:
|
||||
return state.map((file) => {
|
||||
if (file.name === 'root') {
|
||||
file.children = sortedChildrenId(state, file.children);
|
||||
}
|
||||
return file;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue