1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

update multi storages backend

1. use $.isEmptyObject() check if app.pageOptions.storages is empty
2. return [] if no storage_ids setting for user role
This commit is contained in:
lian
2018-04-13 13:27:05 +08:00
parent 12963cb7ef
commit 488c8802a3
4 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,6 @@ define([
return {
showSharePerm: true,
enable_encrypted_library: app.pageOptions.enable_encrypted_library,
storages: app.pageOptions.storages,
library_templates: app.pageOptions.library_templates
};
},