Indicate deck shares as shared in the file list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-12-08 16:45:56 +01:00
parent 8131965b74
commit 49a997bc87
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,8 @@ import escapeHTML from 'escape-html'
hasShares = true hasShares = true
} else if (shareType === OC.Share.SHARE_TYPE_ROOM) { } else if (shareType === OC.Share.SHARE_TYPE_ROOM) {
hasShares = true hasShares = true
} else if (shareType === OC.Share.SHARE_TYPE_DECK) {
hasShares = true
} }
}) })
OCA.Sharing.Util._updateFileActionIcon($tr, hasShares, hasLink) OCA.Sharing.Util._updateFileActionIcon($tr, hasShares, hasLink)