1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

repair code error

This commit is contained in:
shanshuirenjia
2019-06-21 21:16:05 +08:00
parent a09770720e
commit fff5d94cea

View File

@@ -906,9 +906,9 @@ export const Utils = {
/** /**
* Check whether user has permission to share a dirent. * Check whether user has permission to share a dirent.
* If dirent is none, then check whether the user can share the repo * If dirent is none, then check whether the user can share the repo
* scence 1: root path or folder path, control the share button in the toolbar * scene 1: root path or folder path, control the share button in the toolbar
* scence 2: selected a dirent, control the share button in the toolbar dropdown-menu * scene 2: selected a dirent, control the share button in the toolbar dropdown-menu
* scence 3: dirent list(grid list), control the share button in the dirent-item or righe-menu * scene 3: dirent list(grid list), control the share button in the dirent-item or righe-menu
* *
* @param {*} repoInfo * @param {*} repoInfo
* @param {*} userDirPermission * @param {*} userDirPermission