diff options
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 4222a5589e6..9fa9e47e287 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -294,6 +294,8 @@ export default { return } + const externalResults = this.externalResults.filter(result => !result.condition || result.condition(this)) + const exact = request.data.ocs.data.exact // flatten array of arrays @@ -302,6 +304,7 @@ export default { // remove invalid data and format to user-select layout this.recommendations = this.filterOutExistingShares(rawRecommendations) .map(share => this.formatForMultiselect(share)) + .concat(externalResults) this.loading = false console.info('recommendations', this.recommendations) |