Improve performance

This commit is contained in:
syuilo
2018-12-02 06:44:18 +09:00
parent 8bc5febe66
commit 10f466c895
3 changed files with 13 additions and 4 deletions

View File

@ -116,7 +116,8 @@ export default Vue.extend({
this.$root.api('users/search', {
query: this.q,
localOnly: true,
limit: 10
limit: 10,
detail: false
}).then(users => {
this.result = users.filter(user => user.id != this.$store.state.i.id);
});