mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
history feedback
This commit is contained in:
@@ -130,11 +130,11 @@ class RepoListItem extends React.Component {
|
||||
this.props.onDirentItemClick(repo, filePath, dirent);
|
||||
}
|
||||
|
||||
onRepoItemClick = () => {
|
||||
onRepoItemClick = (e) => {
|
||||
if (!this.isCurrentRepo() || this.props.selectedPath !== '') {
|
||||
this.props.onRepoItemClick(this.props.repo);
|
||||
} else {
|
||||
this.onToggleClick();
|
||||
this.onToggleClick(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user