diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-10-31 11:52:00 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-01 19:54:41 +0100 |
commit | 86b362809bb58c12864fce93af9c6e961bb7301d (patch) | |
tree | a1b19e6be605f5b52d0375f355c5ea440aa5f21f /core/js/shareconfigmodel.js | |
parent | ce08682c2fdeaeb835cd41c0e9e1207a4da422ab (diff) | |
download | nextcloud-server-86b362809bb58c12864fce93af9c6e961bb7301d.tar.gz nextcloud-server-86b362809bb58c12864fce93af9c6e961bb7301d.zip |
always show correct place holder, mention share by mail only if the share provider is enabled
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core/js/shareconfigmodel.js')
-rw-r--r-- | core/js/shareconfigmodel.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/shareconfigmodel.js b/core/js/shareconfigmodel.js index b04c2acae16..24922d62636 100644 --- a/core/js/shareconfigmodel.js +++ b/core/js/shareconfigmodel.js @@ -25,6 +25,7 @@ isDefaultExpireDateEnforced: oc_appconfig.core.defaultExpireDateEnforced === true, isDefaultExpireDateEnabled: oc_appconfig.core.defaultExpireDateEnabled === true, isRemoteShareAllowed: oc_appconfig.core.remoteShareAllowed, + isMailShareAllowed: oc_appconfig.shareByMailEnabled !== undefined, defaultExpireDate: oc_appconfig.core.defaultExpireDate, isResharingAllowed: oc_appconfig.core.resharingAllowed, allowGroupSharing: oc_appconfig.core.allowGroupSharing |