mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
repair history bug (#2929)
* repair history bug * update seafile-js version * update padding
This commit is contained in:
@@ -243,8 +243,7 @@ class DirentListItem extends React.Component {
|
||||
onHistory = () => {
|
||||
let repoID = this.props.repoID;
|
||||
let filePath = this.getDirentPath(this.props.dirent);
|
||||
let referer = location.href;
|
||||
let url = URLDecorator.getUrl({type: 'file_revisions', repoID: repoID, filePath: filePath, referer: referer});
|
||||
let url = URLDecorator.getUrl({type: 'file_revisions', repoID: repoID, filePath: filePath});
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user