fix(sharing): list accounts with matches in email
* Show users with matches in the email address. * List email addresses in sharing dialog. `NcSelect` filters the options based on matches in `label` and `subname`. By using the email address as a subname we ensure options with a matching email address are shown. Signed-off-by: Max <max@nextcloud.com>
This commit is contained in:
@@ -137,9 +137,13 @@ export default {
|
||||
},
|
||||
formatedSharees() {
|
||||
return this.unallocatedSharees.map(item => {
|
||||
const subname = item.label === item.shareWithDisplayNameUnique
|
||||
? ''
|
||||
: item.shareWithDisplayNameUnique
|
||||
const sharee = {
|
||||
user: item.value.shareWith,
|
||||
displayName: item.label,
|
||||
subname,
|
||||
icon: 'icon-user',
|
||||
multiselectKey: item.shareType + ':' + item.primaryKey,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user