mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
[fix] edit-mode (#2862)
This commit is contained in:
@@ -65,7 +65,7 @@ class RepoInfoBar extends React.Component {
|
||||
|
||||
render() {
|
||||
let {repoID, currentPath, usedRepoTags, readmeMarkdown} = this.props;
|
||||
let href = readmeMarkdown !== null ? siteRoot + 'lib/' + repoID + '/file' + Utils.joinPath(currentPath, readmeMarkdown.name) : '';
|
||||
let href = readmeMarkdown !== null ? siteRoot + 'lib/' + repoID + '/file' + Utils.joinPath(currentPath, readmeMarkdown.name) + '?mode=edit' : '';
|
||||
let filePath = readmeMarkdown !== null ? currentPath + readmeMarkdown.name : '';
|
||||
return (
|
||||
<div className="repo-info-bar">
|
||||
|
Reference in New Issue
Block a user