mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 08:53:14 +00:00
add access log menu item (#3550)
This commit is contained in:
@@ -298,9 +298,11 @@ class DirentListItem extends React.Component {
|
||||
let url = URLDecorator.getUrl({type: 'file_revisions', repoID: repoID, filePath: filePath});
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
|
||||
onAccessLog = () => {
|
||||
|
||||
let filePath = this.getDirentPath(this.props.dirent);
|
||||
let path = siteRoot + 'repo/file-access/' + this.props.repoID + '/?p=' + encodeURIComponent(filePath) ;
|
||||
window.open(path);
|
||||
}
|
||||
|
||||
onOpenViaClient = () => {
|
||||
|
Reference in New Issue
Block a user