fix: user search incorrectly caching results

This commit is contained in:
Nicolas Giard
2019-06-04 11:17:08 -04:00
committed by GitHub
parent f7ebccbb43
commit 7170433041

View File

@@ -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
}, },