From 49a997bc870f098fed3ee2da48b2cc0c7b5fb317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net>
Date: Tue, 8 Dec 2020 16:45:56 +0100
Subject: [PATCH] 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 <jus@bitgrid.net>
---
 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)
-- 
GitLab