1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +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.
* 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
* scence 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 1: root path or folder path, control the share button in the toolbar
* scene 2: selected a dirent, control the share button in the toolbar dropdown-menu
* scene 3: dirent list(grid list), control the share button in the dirent-item or righe-menu
*
* @param {*} repoInfo
* @param {*} userDirPermission