1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

change detail panel (#3856)

This commit is contained in:
Michael An
2019-07-16 16:21:20 +08:00
committed by Daniel Pan
parent 0fc368648a
commit 99785665fc
2 changed files with 15 additions and 7 deletions

View File

@@ -225,7 +225,7 @@ class DirentDetail extends React.Component {
<TabPane tabId="comments" className="comments h-100">
<DetailCommentList
repoID={this.props.repoID}
filePath={(dirent && dirent.type === 'file') ? path + dirent.name : path}
filePath={(dirent && dirent.type === 'file') ? path + '/' + dirent.name : path}
/>
</TabPane>
</TabContent>