|
|
@ -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) |
|
|
|