From 09e5e3859122f7675febb44815dbd8916c7e34a4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 28 Nov 2016 12:14:27 +0100 Subject: [PATCH] Add an icon when the file is shared by mail Signed-off-by: Joas Schilling --- apps/files_sharing/js/share.js | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.5