Remove Legacy Objectives from ModuleDetailsQuery
This commit is contained in:
parent
56624997da
commit
830ca5edca
|
|
@ -61,7 +61,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3
|
<h3
|
||||||
v-if="$flavor.showObjectivesTitle && module.objectiveGroups.length && showObjectives"
|
v-if="$flavor.showObjectivesTitle && module.objectiveGroups?.length && showObjectives"
|
||||||
id="objectives"
|
id="objectives"
|
||||||
>
|
>
|
||||||
<span>Lernziele</span>
|
<span>Lernziele</span>
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="module__objective-groups"
|
class="module__objective-groups"
|
||||||
v-if="module.objectiveGroups.length && showObjectives"
|
v-if="module.objectiveGroups?.length && showObjectives"
|
||||||
>
|
>
|
||||||
<objective-groups
|
<objective-groups
|
||||||
:groups="languageCommunicationObjectiveGroups"
|
:groups="languageCommunicationObjectiveGroups"
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,10 @@
|
||||||
#import "gql/fragments/chapterParts.gql"
|
#import "gql/fragments/chapterParts.gql"
|
||||||
#import "gql/fragments/objectiveGroupParts.gql"
|
|
||||||
#import "gql/fragments/objectiveParts.gql"
|
|
||||||
#import "gql/fragments/moduleParts.gql"
|
#import "gql/fragments/moduleParts.gql"
|
||||||
#import "gql/fragments/contentBlockInterfaceParts.gql"
|
#import "gql/fragments/contentBlockInterfaceParts.gql"
|
||||||
#import "gql/fragments/contentBlockParts.gql"
|
#import "gql/fragments/contentBlockParts.gql"
|
||||||
query ModuleDetailsQuery($slug: String, $id: ID) {
|
query ModuleDetailsQuery($slug: String, $id: ID) {
|
||||||
module(slug: $slug, id: $id) {
|
module(slug: $slug, id: $id) {
|
||||||
...ModuleLegacyParts
|
...ModuleLegacyParts
|
||||||
objectiveGroups {
|
|
||||||
...ObjectiveGroupParts
|
|
||||||
objectives {
|
|
||||||
...ObjectiveParts
|
|
||||||
}
|
|
||||||
}
|
|
||||||
chapters {
|
chapters {
|
||||||
...ChapterParts
|
...ChapterParts
|
||||||
contentBlocks {
|
contentBlocks {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue