1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

Dir view bug repair (#2770)

* history back bug repair

* rename uploadedFolders to notifiedFolders

* encode repoName
This commit is contained in:
杨顺强
2019-01-05 17:52:26 +08:00
committed by Daniel Pan
parent 7d30632977
commit 77e557820e
3 changed files with 14 additions and 8 deletions

View File

@@ -359,8 +359,11 @@ class Wiki extends Component {
if (this.isMarkdownFile(path)) {
this.showFile(path);
} else {
let currentNode = this.state.treeData.getNodeByPath(path);
this.showDir(currentNode.path);
this.loadDirentList(path);
this.setState({
path: path,
isViewFile: false
});
}
}
}