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:
authorJulius Härtl <jus@bitgrid.net>2020-10-07 13:32:16 +0300
committerJulius Härtl <jus@bitgrid.net>2020-12-14 13:14:59 +0300
commit102402bfcbad8a0c1730b4d88172bcee28c50df7 (patch)
tree65893ae342b53f7529d70ea10548c5b62ccae5e2 /apps/files_sharing/src/models
parent131fcac91ed0468d6564eb268c85b6665e06f330 (diff)
Show unique displayname context in the user share list entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src/models')
-rw-r--r--apps/files_sharing/src/models/Share.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/src/models/Share.js b/apps/files_sharing/src/models/Share.js
index d36484f064a..db9351fb52c 100644
--- a/apps/files_sharing/src/models/Share.js
+++ b/apps/files_sharing/src/models/Share.js
@@ -150,6 +150,10 @@ export default class Share {
|| this.#share.share_with
}
+ get shareWithDisplayNameUnique() {
+ return this.#share.share_with_displayname_unique || this.#share.share_with
+ }
+
/**
* Get the share with entity link
*