Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-07-01 18:26:00 +0300
committerVincent Petry <vincent@nextcloud.com>2021-07-27 13:19:18 +0300
commit53aafff972d14e09732f61809079e39d08a9cb3b (patch)
treedfe05ce2d0ed68c53d9b2b28450bba724c49727f /apps/files_sharing/src
parent702bced2b7db60f05a217ddb673360e85b3c3153 (diff)
Extend pending shares list to include remote shares
And adjust the accept/decline actions to use the right endpoint for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/share.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js
index 385d42eaaea..ab41db7e8cd 100644
--- a/apps/files_sharing/src/share.js
+++ b/apps/files_sharing/src/share.js
@@ -104,6 +104,9 @@ import escapeHTML from 'escape-html'
if (fileData.shareTypes) {
tr.attr('data-share-types', fileData.shareTypes.join(','))
}
+ if (fileData.remoteId) {
+ tr.attr('data-remote-id', fileData.remoteId)
+ }
return tr
}