pull/5370/head
bunsenstraat 11 months ago
parent a20b9186c5
commit 3310a5fc6c
  1. 8
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -899,10 +899,10 @@ const flattenTree = (files, expandPath: string[]) =>{
flatTree.push(file)
if (file.isDirectory && file.child && expandPath && expandPath.find((path) => path === file.path || path.startsWith(file.path + '/')) ) {
const sorted = fileKeySort(file.child)
Object.keys(sorted).map((key) => {
mapChild(sorted[key])
})
const sorted = fileKeySort(file.child)
Object.keys(sorted).map((key) => {
mapChild(sorted[key])
})
}
}
if(files){

Loading…
Cancel
Save