mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
update logic of show folder share icon
if current user has 'is_admin' library permssion, show folder share icon
This commit is contained in:
@@ -558,6 +558,7 @@ define([
|
||||
path: dir.path,
|
||||
repo_id: dir.repo_id,
|
||||
is_repo_owner: dir.is_repo_owner,
|
||||
is_admin: dir.is_admin,
|
||||
site_root: app.pageOptions.site_root
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user