diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 6d7eb8220a1..4222a5589e6 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -258,7 +258,7 @@ export default { this.suggestions = allSuggestions.map(item => { // Make sure that items with duplicate displayName get the shareWith applied as a description if (nameCounts[item.displayName] > 1 && !item.desc) { - return { ...item, desc: item.shareWith } + return { ...item, desc: item.shareWithDisplayNameUnique } } return item }) @@ -418,6 +418,7 @@ export default { isNoUser: result.value.shareType !== this.SHARE_TYPES.SHARE_TYPE_USER, displayName: result.name || result.label, desc, + shareWithDisplayNameUnique: result.shareWithDisplayNameUnique || '', icon: this.shareTypeToIcon(result.value.shareType), } }, |