Browse Source
fix: user search incorrectly caching results
pull/880/head
Nicolas Giard
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
client/components/common/user-search.vue
|
@ -112,6 +112,7 @@ export default { |
|
|
query: this.search |
|
|
query: this.search |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
fetchPolicy: 'cache-and-network', |
|
|
skip() { |
|
|
skip() { |
|
|
return !this.search || this.search.length < 2 |
|
|
return !this.search || this.search.length < 2 |
|
|
}, |
|
|
}, |
|
|