pull/4422/head
bunsenstraat 1 year ago
parent d24145b2e3
commit f17c246118
  1. 8
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

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

Loading…
Cancel
Save