diff options
author | Joas Schilling <coding@schilljs.com> | 2016-11-28 12:14:27 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-30 09:21:58 +0100 |
commit | 09e5e3859122f7675febb44815dbd8916c7e34a4 (patch) | |
tree | 18d7aa7b590a5443f2ccf40fd7e095e2fbc60abc /apps/files_sharing/js/share.js | |
parent | 73007c401eb1949ffa81b4063ae9a823da49b56c (diff) | |
download | nextcloud-server-09e5e3859122f7675febb44815dbd8916c7e34a4.tar.gz nextcloud-server-09e5e3859122f7675febb44815dbd8916c7e34a4.zip |
Add an icon when the file is shared by mail
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/js/share.js')
-rw-r--r-- | apps/files_sharing/js/share.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 073cc77e5aa..a40d40e6b8a 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -114,6 +114,8 @@ shareType = parseInt(shareType, 10); if (shareType === OC.Share.SHARE_TYPE_LINK) { hasLink = true; + } else if (shareType === OC.Share.SHARE_TYPE_EMAIL) { + hasLink = true; } else if (shareType === OC.Share.SHARE_TYPE_USER) { hasShares = true; } else if (shareType === OC.Share.SHARE_TYPE_GROUP) { |