summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-03-24 12:16:57 +0100
committerVincent Petry <pvince81@owncloud.com>2016-03-24 12:16:57 +0100
commit9ee1f506f210864c57f559d46f1bd4790f5c6f9e (patch)
treebcec72a9bb6006643c54b5d98cca6ad3f635106f /apps/files_sharing/js
parentea07a428f463a866b2c5e44e243a33d8980c8850 (diff)
downloadnextcloud-server-9ee1f506f210864c57f559d46f1bd4790f5c6f9e.tar.gz
nextcloud-server-9ee1f506f210864c57f559d46f1bd4790f5c6f9e.zip
Return remote shares in oc:share-types Webdav property
Fixes web UI to properly display the share status icon when an outgoing remote share exists
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/share.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 5ec7824758f..a253763389c 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -123,6 +123,8 @@
hasShares = true;
} else if (shareType === OC.Share.SHARE_TYPE_GROUP) {
hasShares = true;
+ } else if (shareType === OC.Share.SHARE_TYPE_REMOTE) {
+ hasShares = true;
}
});
OCA.Sharing.Util._updateFileActionIcon($tr, hasShares, hasLink);