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

change published repo style and comment (#3865)

This commit is contained in:
Michael An
2019-07-17 14:54:12 +08:00
committed by plt
parent 3e8ee7fee7
commit 42d043d3ea
3 changed files with 6 additions and 2 deletions

View File

@@ -238,7 +238,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') ? Utils.joinPath(path, dirent.name) : path}
/>
</TabPane>
</TabContent>