mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
repair bug
This commit is contained in:
@@ -144,6 +144,12 @@ class TreeView extends React.Component {
|
||||
return;
|
||||
}
|
||||
|
||||
let currentRepoInfo = this.props.currentRepoInfo;
|
||||
|
||||
if (currentRepoInfo.permission === 'cloud-edit' || currentRepoInfo.permission === 'preview') {
|
||||
return '';
|
||||
}
|
||||
|
||||
let x = event.clientX || (event.touches && event.touches[0].pageX);
|
||||
let y = event.clientY || (event.touches && event.touches[0].pageY);
|
||||
|
||||
|
Reference in New Issue
Block a user