1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +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

@@ -66,6 +66,7 @@ define([
category: dir.category,
repo_id: dir.repo_id,
is_repo_owner: dir.is_repo_owner,
is_admin: dir.is_admin,
repo_encrypted: dir.encrypted,
can_set_folder_perm: can_set_folder_perm,