Merge pull request #18417 from nextcloud/fix/transfer-ownership-ui-email

Make it possible to find transfer to user by email
This commit is contained in:
Roeland Jago Douma 2019-12-16 11:36:45 +01:00 committed by GitHub
commit 85ef2bf944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View file

@ -53,6 +53,7 @@
:loading="loadingUsers" :loading="loadingUsers"
track-by="user" track-by="user"
label="displayName" label="displayName"
:internal-search="false"
:clear-on-select="false" :clear-on-select="false"
:user-select="true" :user-select="true"
@search-change="findUserDebounced" /> @search-change="findUserDebounced" />
@ -162,6 +163,7 @@ export default {
logger.error('Error fetching suggestions', { response }) logger.error('Error fetching suggestions', { response })
} }
this.userSuggestions = {}
response.data.ocs.data.users.forEach(user => { response.data.ocs.data.users.forEach(user => {
Vue.set(this.userSuggestions, user.value.shareWith, { Vue.set(this.userSuggestions, user.value.shareWith, {
uid: user.value.shareWith, uid: user.value.shareWith,