diff --git a/apps/files_sharing/js/dist/files_sharing_tab.js b/apps/files_sharing/js/dist/files_sharing_tab.js index dccc9c663d7cdefb5b574bed55918a27f597553c..33230f96ec74f45e2312eb3c7b62ec2f4cb3b555 100644 Binary files a/apps/files_sharing/js/dist/files_sharing_tab.js and b/apps/files_sharing/js/dist/files_sharing_tab.js differ diff --git a/apps/files_sharing/js/dist/files_sharing_tab.js.map b/apps/files_sharing/js/dist/files_sharing_tab.js.map index 15984dbc6e350fc7495d16ba9c90aae3a9ae25f0..c01ffc2696236382b3283f9b4ebd953687f16d71 100644 Binary files a/apps/files_sharing/js/dist/files_sharing_tab.js.map and b/apps/files_sharing/js/dist/files_sharing_tab.js.map differ diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 4222a5589e6fcfb300bdd8551e71e7e4ada6d3dd..9fa9e47e287af36da1fe359922b71422d82580ec 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)