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

Update wiki (#2313)

* [wiki] show all files

* [wiki]update choose repo as wiki
This commit is contained in:
C_Q
2018-08-30 11:35:56 +08:00
committed by Daniel Pan
parent d1ec9da6b6
commit 1faa061321
4 changed files with 24 additions and 8 deletions

View File

@@ -122,6 +122,10 @@ class Wiki extends Component {
onFileClick = (e, node) => {
if (node.isMarkdown()) {
this.loadFile(node.path);
} else {
const w=window.open('about:blank');
const url = serviceUrl + '/lib/' + repoID + '/file' + node.path;
w.location.href = url;
}
}