From 9ee1f506f210864c57f559d46f1bd4790f5c6f9e Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 24 Mar 2016 12:16:57 +0100 Subject: 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 --- apps/files_sharing/js/share.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files_sharing/js/share.js') 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); -- cgit v1.2.3