diff options
-rw-r--r-- | js/controller/ShareController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controller/ShareController.js b/js/controller/ShareController.js index 0eb7b81c9..3289edf6a 100644 --- a/js/controller/ShareController.js +++ b/js/controller/ShareController.js @@ -39,8 +39,8 @@ app.controller('ShareController', function (ShareResource, Loading) { ShareResource.getUsers(search) .then((response) => { if (this.searchQuery === search) { - this.userList = response.ocs.data.users; - this.userList = this.userList.concat(response.ocs.data.exact.users); + this.userList = response.ocs.data.exact.users; + this.userList = this.userList.concat(response.ocs.data.users); Loading.setLoading('user', false); } }) |