flattentree
filip mertens 11 months ago
parent d57de28dd6
commit 04e17c7578
  1. 1
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -895,6 +895,7 @@ const flattenTree = (files, expandPath: string[]) =>{
console.log('flattenTree', files, expandPath)
const flatTree = {}
const mapChild = (file: FileType) => {
if(!file.path) return
console.log('mapChild', file)
flatTree[file.path] = file
expandPath && expandPath.find((path) => path.startsWith(file.path)) &&

Loading…
Cancel
Save