expand the folder when added

pull/5370/head
LianaHus 4 years ago committed by ioedeveloper
parent a5dc8bfb56
commit 4026b434f3
  1. 1
      apps/remix-ide/src/app/files/file-explorer.js

@ -136,6 +136,7 @@ function fileExplorer (localRegistry, files, menuItems) {
if (!fileTree) return
fileTree = normalize(folderpath, fileTree)
self.treeView.updateNodeFromJSON(folderpath, fileTree, true)
self.treeview.expand(folderpath)
})
})
}

Loading…
Cancel
Save