summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-07-07 20:02:59 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-07-07 20:02:59 +0200
commit45a4751f0e7cee78fc182200aa98560e62771594 (patch)
tree7bb720f974e2fec4d61f433379374599ba30bee4 /apps/files_sharing/js/sharedfilelist.js
parent29bdfc0ce2e6c1b1b0a7165c855313578fd56246 (diff)
parent8ddff52c517649ce1f18ac7c6a022d41493cd4e2 (diff)
downloadnextcloud-server-45a4751f0e7cee78fc182200aa98560e62771594.tar.gz
nextcloud-server-45a4751f0e7cee78fc182200aa98560e62771594.zip
Merge pull request #9499 from owncloud/shares-hidetokenrecipient
Do not show recipient for link shares in file list
Diffstat (limited to 'apps/files_sharing/js/sharedfilelist.js')
-rw-r--r--apps/files_sharing/js/sharedfilelist.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index 0e115ae6148..861bbaff5de 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -179,7 +179,9 @@
file.permissions = share.permissions;
}
else {
- file.share.targetDisplayName = share.share_with_displayname;
+ if (share.share_type !== OC.Share.SHARE_TYPE_LINK) {
+ file.share.targetDisplayName = share.share_with_displayname;
+ }
file.name = OC.basename(share.path);
file.path = OC.dirname(share.path);
file.permissions = OC.PERMISSION_ALL;