mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
check-diff (#2535)
This commit is contained in:
@@ -245,9 +245,9 @@ class DraftReview extends React.Component {
|
||||
:
|
||||
<div className="markdown-viewer-render-content article">
|
||||
{this.state.isShowDiff ?
|
||||
<DiffViewer markdownContent={this.state.draftContent} markdownContent1={this.state.draftOriginContent} />
|
||||
<DiffViewer newMarkdownContent={this.state.draftContent} oldMarkdownContent={this.state.draftOriginContent} />
|
||||
:
|
||||
<DiffViewer markdownContent={this.state.draftContent} markdownContent1={this.state.draftContent} />
|
||||
<DiffViewer newMarkdownContent={this.state.draftContent} oldMarkdownContent={this.state.draftContent} />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
Reference in New Issue
Block a user