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 {
edges {
node {

View File

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