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:
@@ -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
|
||||
};
|
||||
},
|
||||
|
Reference in New Issue
Block a user