1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +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

@@ -100,8 +100,6 @@ class TreeNodeView extends React.Component {
paddingLeft: this.props.paddingLeft
};
var l = node.children.sort(sortByType);
l = l.filter((node) => { return node.type == "dir" || node.isMarkdown(); })
/*
the `key` property is needed. Otherwise there is a warning in the console
*/