diff --git a/client/src/components/modules/Module.vue b/client/src/components/modules/Module.vue index 5805ec59..d12ed23c 100644 --- a/client/src/components/modules/Module.vue +++ b/client/src/components/modules/Module.vue @@ -14,11 +14,9 @@

Alles klar?

- + + + @@ -45,14 +43,6 @@ } }, - data() { - return { - chapter: { - title: '1.1 Lehrbeginn' - } - } - }, - created() { }, diff --git a/client/src/components/modules/ObjectiveGroups.vue b/client/src/components/modules/ObjectiveGroups.vue index fb3b30bf..9a71c673 100644 --- a/client/src/components/modules/ObjectiveGroups.vue +++ b/client/src/components/modules/ObjectiveGroups.vue @@ -1,17 +1,73 @@ diff --git a/client/src/graphql/queries.js b/client/src/graphql/queries.js index b79ebb4c..50275544 100644 --- a/client/src/graphql/queries.js +++ b/client/src/graphql/queries.js @@ -1,4 +1,5 @@ import MODULE_DETAILS_QUERY from './gql/moduleDetailsQuery.gql'; +import ME_QUERY from './gql/meQuery.gql'; export function moduleQuery() { return { @@ -11,3 +12,9 @@ export function moduleQuery() { } } } + +export function meQuery() { + return { + query: ME_QUERY + } +}