mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
update wiki mode
This commit is contained in:
@@ -48,6 +48,12 @@ const propTypes = {
|
||||
onItemsMove: PropTypes.func.isRequired,
|
||||
onItemsCopy: PropTypes.func.isRequired,
|
||||
onItemsDelete: PropTypes.func.isRequired,
|
||||
onLinkClick: PropTypes.func.isRequired,
|
||||
isDraft: PropTypes.bool,
|
||||
hasDraft: PropTypes.bool,
|
||||
reviewStatus: PropTypes.any,
|
||||
goReviewPage: PropTypes.func,
|
||||
goDraftPage: PropTypes.func,
|
||||
};
|
||||
|
||||
class MainPanel extends Component {
|
||||
@@ -185,6 +191,11 @@ class MainPanel extends Component {
|
||||
<DirOperationToolBar
|
||||
path={this.props.path}
|
||||
repoID={repoID}
|
||||
isDraft={this.props.isDraft}
|
||||
hasDraft={this.props.hasDraft}
|
||||
reviewStatus={this.props.reviewStatus}
|
||||
goDraftPage={this.props.goDraftPage}
|
||||
goReviewPage={this.props.goReviewPage}
|
||||
permission={this.props.permission}
|
||||
isViewFile={this.props.isViewFile}
|
||||
onAddFile={this.props.onAddFile}
|
||||
@@ -224,6 +235,7 @@ class MainPanel extends Component {
|
||||
isFileLoading={this.props.isFileLoading}
|
||||
activeTitleIndex={this.state.activeTitleIndex}
|
||||
onContentRendered={this.onContentRendered}
|
||||
onLinkClick={this.props.onLinkClick}
|
||||
/> :
|
||||
<Fragment>
|
||||
<DirentListView
|
||||
|
Reference in New Issue
Block a user