Name query, don't prefetch
This commit is contained in:
parent
ca6e179a2e
commit
25f4809d22
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
query ModulesQuery {
|
||||||
modules {
|
modules {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue