Remove unused component
This commit is contained in:
parent
e60d88dcf0
commit
2ab1073826
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
|
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
|
||||||
import ObjectiveGroupControl from '@/components/objective-groups/ObjectiveGroupControl.vue';
|
|
||||||
import Chapter from '@/components/Chapter.vue';
|
import Chapter from '@/components/Chapter.vue';
|
||||||
|
|
||||||
import UPDATE_OBJECTIVE_PROGRESS_MUTATION from '@/graphql/gql/mutations/updateObjectiveProgress.gql';
|
import UPDATE_OBJECTIVE_PROGRESS_MUTATION from '@/graphql/gql/mutations/updateObjectiveProgress.gql';
|
||||||
|
|
@ -47,7 +46,6 @@
|
||||||
components: {
|
components: {
|
||||||
BookmarkActions,
|
BookmarkActions,
|
||||||
ObjectiveGroups,
|
ObjectiveGroups,
|
||||||
ObjectiveGroupControl,
|
|
||||||
Chapter
|
Chapter
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<template v-if="control">
|
<objective-group v-for="group in objectiveGroups" :key="group.id" :group="group"></objective-group>
|
||||||
<objective-group-control
|
|
||||||
v-for="(group, index) in objectiveGroups"
|
|
||||||
:key="`${group.id}${index}`"
|
|
||||||
:group="group"
|
|
||||||
@updateObjectiveProgress="updateObjectiveProgress"></objective-group-control>
|
|
||||||
</template>
|
|
||||||
<template v-if="!control">
|
|
||||||
<objective-group v-for="group in objectiveGroups" :key="group.id" :group="group"></objective-group>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ObjectiveGroup from '@/components/objective-groups/ObjectiveGroup';
|
import ObjectiveGroup from '@/components/objective-groups/ObjectiveGroup';
|
||||||
import ObjectiveGroupControl from '@/components/objective-groups/ObjectiveGroupControl';
|
|
||||||
import {meQuery} from '@/graphql/queries';
|
import {meQuery} from '@/graphql/queries';
|
||||||
import {withoutOwnerFirst} from '@/helpers/sorting';
|
import {withoutOwnerFirst} from '@/helpers/sorting';
|
||||||
|
|
||||||
|
|
@ -30,8 +19,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
ObjectiveGroup,
|
ObjectiveGroup
|
||||||
ObjectiveGroupControl
|
|
||||||
},
|
},
|
||||||
|
|
||||||
apollo: {
|
apollo: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue