diff options
Diffstat (limited to 'apps/files_sharing/src/views/SharingDetailsTab.vue')
-rw-r--r-- | apps/files_sharing/src/views/SharingDetailsTab.vue | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 7cee14c9d99..e62a1ab94d7 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -769,6 +769,7 @@ export default { shareWith: this.share.shareWith, attributes: this.share.attributes, note: this.share.note, + fileInfo: this.fileInfo, } if (this.hasExpirationDate) { @@ -795,15 +796,6 @@ export default { * @param {object} fileInfo file data */ async addShare(share, fileInfo) { - - // handle externalResults from OCA.Sharing.ShareSearch - if (share.handler) { - const shareFromHandler = await share.handler(this) - this.$emit('add:share', new Share(shareFromHandler)) - return true - } - - // this.loading = true // Are we adding loaders the new share flow? console.debug('Adding a new share from the input for', share) try { const path = (fileInfo.path + '/' + fileInfo.name).replace('//', '/') |