1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

change markdown view in metadata (#6746)

* change markdown viewer in metadata

* fix side nav click event
This commit is contained in:
Michael An
2024-09-11 10:13:10 +08:00
committed by GitHub
parent b166c5d3c3
commit 57954854d0
9 changed files with 96 additions and 71 deletions

View File

@@ -281,11 +281,12 @@ class DirColumnView extends React.Component {
}
{this.props.isViewFile &&
<MarkdownViewerDialog
path={this.props.path}
repoID={this.props.repoID}
filePath={this.props.getMarkDownFilePath()}
fileName={this.props.getMarkDownFileName()}
openMarkdownFile={this.props.openMarkdownFile}
isFileLoading={this.props.isFileLoading}
content={this.props.content}
currentDirent={this.props.currentDirent}
lastModified={this.props.lastModified}
latestContributor={this.props.latestContributor}
onLinkClick={this.props.onLinkClick}