mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix(FileExplorer): remove an unnecessary after render task
This commit is contained in:
parent
ad557477f9
commit
f05273f6ac
1 changed files with 0 additions and 1 deletions
|
|
@ -28,7 +28,6 @@ export default class List extends preact.Component {
|
|||
const { root, nodes } = treeParser.parse(treeData, metaData)
|
||||
this.visibleNodesGenerator.plantTree(root, nodes)
|
||||
const currentPath = URLHelper.getCurrentPath()
|
||||
this.tasksAfterRender.push(DOMHelper.focusFileExplorer)
|
||||
this.tasksAfterRender.push(DOMHelper.focusSearchInput)
|
||||
if (currentPath.length) {
|
||||
const nodeExpandedTo = this.visibleNodesGenerator.expandTo(currentPath)
|
||||
|
|
|
|||
Loading…
Reference in a new issue