1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 19:37:28 +00:00

return markdown content to web page

This commit is contained in:
lian
2021-04-09 16:21:33 +08:00
parent 973c9a978f
commit c0a756082b

View File

@@ -84,6 +84,7 @@ class MainPanel extends Component {
const isViewingFile = this.props.pathExist && !this.props.isDataLoading && this.props.isViewFile; const isViewingFile = this.props.pathExist && !this.props.isDataLoading && this.props.isViewFile;
return ( return (
<div className="main-panel wiki-main-panel o-hidden"> <div className="main-panel wiki-main-panel o-hidden">
<div className="main-panel-hide hide">{this.props.content}</div>
<div className={`main-panel-north panel-top ${this.props.permission === 'rw' ? 'border-left-show' : ''}`}> <div className={`main-panel-north panel-top ${this.props.permission === 'rw' ? 'border-left-show' : ''}`}>
{!username && {!username &&
<Fragment> <Fragment>