Better limit
This commit is contained in:
parent
72d9a46156
commit
ee82f99f5a
|
@ -187,7 +187,7 @@ export default Vue.extend({
|
||||||
} else {
|
} else {
|
||||||
this.$root.api('users/search', {
|
this.$root.api('users/search', {
|
||||||
query: this.q,
|
query: this.q,
|
||||||
limit: 30
|
limit: 10
|
||||||
}).then(users => {
|
}).then(users => {
|
||||||
this.users = users;
|
this.users = users;
|
||||||
this.fetching = false;
|
this.fetching = false;
|
||||||
|
|
|
@ -115,7 +115,7 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
this.$root.api('users/search', {
|
this.$root.api('users/search', {
|
||||||
query: this.q,
|
query: this.q,
|
||||||
max: 5
|
limit: 10
|
||||||
}).then(users => {
|
}).then(users => {
|
||||||
this.result = users;
|
this.result = users;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue