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:
@@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user