diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-15 12:54:31 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-21 08:16:00 +0100 |
commit | ff164db9350347b404d180fe08f3cb30e8c3d520 (patch) | |
tree | 5a97e3a2f2fe3865a54dc7c3ca8836cfd3c2d4bb /apps/files_sharing/src/share.js | |
parent | 4c884f1b235375a9e93e11acc1a5f057eee6282e (diff) | |
download | nextcloud-server-ff164db9350347b404d180fe08f3cb30e8c3d520.tar.gz nextcloud-server-ff164db9350347b404d180fe08f3cb30e8c3d520.zip |
Add link icon for public link too
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/share.js')
-rw-r--r-- | apps/files_sharing/src/share.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js index c42f130d53a..32ca20f3e62 100644 --- a/apps/files_sharing/src/share.js +++ b/apps/files_sharing/src/share.js @@ -178,7 +178,8 @@ permissions: OC.PERMISSION_ALL, iconClass: function(fileName, context) { var shareType = parseInt(context.$file.data('share-types'), 10) - if (shareType === OC.Share.SHARE_TYPE_EMAIL) { + if (shareType === OC.Share.SHARE_TYPE_EMAIL + || shareType === OC.Share.SHARE_TYPE_LINK) { return 'icon-public' } return 'icon-shared' |