pull/5370/head
bunsenstraat 3 years ago
parent a57d00850b
commit d9e1700d8d
  1. 1
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -659,7 +659,6 @@ const fetchDirectoryContent = (state: BrowserState, payload: { fileTree, path: s
var object = {}; var o = object var object = {}; var o = object
for (const pa of _path) { for (const pa of _path) {
o = o[pa] = {} o = o[pa] = {}
if (pa !== _path[0]) { o = o.child = {} }
} }
files = _.defaultsDeep(files, object) files = _.defaultsDeep(files, object)
prevFiles = _.get(files, _path) prevFiles = _.get(files, _path)

Loading…
Cancel
Save