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