1
0
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:
lian
2018-08-24 17:54:42 +08:00
parent 142b1e7750
commit c8b51b7bfc
4 changed files with 7 additions and 4 deletions

View File

@@ -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
};