mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 07:53:09 +02:00
Better limit
This commit is contained in:
parent
72d9a46156
commit
ee82f99f5a
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue