mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
markdown view update (#6705)
* markdown view update * code normal * code normal * code normal * code normal
This commit is contained in:
@@ -23,6 +23,7 @@ const propTypes = {
|
||||
isTreeDataLoading: PropTypes.bool.isRequired,
|
||||
treeData: PropTypes.object.isRequired,
|
||||
currentNode: PropTypes.object,
|
||||
currentDirent: PropTypes.object,
|
||||
onNodeClick: PropTypes.func.isRequired,
|
||||
onNodeCollapse: PropTypes.func.isRequired,
|
||||
onNodeExpanded: PropTypes.func.isRequired,
|
||||
@@ -41,6 +42,7 @@ const propTypes = {
|
||||
lastModified: PropTypes.string,
|
||||
latestContributor: PropTypes.string,
|
||||
onLinkClick: PropTypes.func.isRequired,
|
||||
onCloseMarkdownViewDialog: PropTypes.func,
|
||||
// repo content
|
||||
isRepoInfoBarShow: PropTypes.bool.isRequired,
|
||||
usedRepoTags: PropTypes.array.isRequired,
|
||||
@@ -198,10 +200,12 @@ class DirColumnView extends React.Component {
|
||||
filePermission={this.props.filePermission}
|
||||
content={this.props.content}
|
||||
viewId={this.props.viewId}
|
||||
currentDirent={this.props.currentDirent}
|
||||
currentRepoInfo={this.props.currentRepoInfo}
|
||||
lastModified={this.props.lastModified}
|
||||
latestContributor={this.props.latestContributor}
|
||||
onLinkClick={this.props.onLinkClick}
|
||||
onCloseMarkdownViewDialog={this.props.onCloseMarkdownViewDialog}
|
||||
/>
|
||||
) : (currentMode == 'list' ?
|
||||
<DirListView
|
||||
|
Reference in New Issue
Block a user