Browse Source

fix: user search incorrectly caching results

Nicolas Giard 6 years ago
parent
commit
7170433041
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/components/common/user-search.vue

+ 1 - 0
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
       },
       },