Name query, don't prefetch

This commit is contained in:
Pawel Kowalski 2018-08-09 15:34:23 +02:00
parent ca6e179a2e
commit 25f4809d22
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ query ModulesQuery {
modules { modules {
edges { edges {
node { node {

View File

@ -10,7 +10,7 @@
</template> </template>
<script> <script>
import ALL_MODULES from '@/graphql/gql/allModules' import ALL_MODULES from '@/graphql/gql/allModules.gql'
export default { export default {
data() { data() {
@ -22,7 +22,7 @@
apollo: { apollo: {
modules: { modules: {
query: ALL_MODULES, query: ALL_MODULES,
prefetch: true, // prefetch: true,
manual: true, manual: true,
result({data, loading, networkStatus}) { result({data, loading, networkStatus}) {
if (!loading) { if (!loading) {