From 49a997bc870f098fed3ee2da48b2cc0c7b5fb317 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 8 Dec 2020 16:45:56 +0100 Subject: Indicate deck shares as shared in the file list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files_sharing/src/share.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js index 7d5aeec4224..47c57e70b6c 100644 --- a/apps/files_sharing/src/share.js +++ b/apps/files_sharing/src/share.js @@ -161,6 +161,8 @@ import escapeHTML from 'escape-html' hasShares = true } else if (shareType === OC.Share.SHARE_TYPE_ROOM) { hasShares = true + } else if (shareType === OC.Share.SHARE_TYPE_DECK) { + hasShares = true } }) OCA.Sharing.Util._updateFileActionIcon($tr, hasShares, hasLink) -- cgit v1.2.3