From ee82f99f5a575a7c74f6bfdbc14bfec42f76e5ac Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 30 Nov 2018 00:45:02 +0900 Subject: [PATCH] Better limit --- src/client/app/common/views/components/autocomplete.vue | 2 +- src/client/app/common/views/components/messaging.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/autocomplete.vue b/src/client/app/common/views/components/autocomplete.vue index 01461c7280..f1f85ba400 100644 --- a/src/client/app/common/views/components/autocomplete.vue +++ b/src/client/app/common/views/components/autocomplete.vue @@ -187,7 +187,7 @@ export default Vue.extend({ } else { this.$root.api('users/search', { query: this.q, - limit: 30 + limit: 10 }).then(users => { this.users = users; this.fetching = false; diff --git a/src/client/app/common/views/components/messaging.vue b/src/client/app/common/views/components/messaging.vue index 5b3fc790d4..8ed42dbf52 100644 --- a/src/client/app/common/views/components/messaging.vue +++ b/src/client/app/common/views/components/messaging.vue @@ -115,7 +115,7 @@ export default Vue.extend({ } this.$root.api('users/search', { query: this.q, - max: 5 + limit: 10 }).then(users => { this.result = users; });