Fix linting error
This commit is contained in:
parent
d3b51b1006
commit
106bad4c52
|
|
@ -5,7 +5,6 @@
|
|||
v-if="module.id"
|
||||
>
|
||||
<div class="module__header">
|
||||
|
||||
<h2
|
||||
class="module__meta-title"
|
||||
id="meta-title"
|
||||
|
|
@ -13,11 +12,13 @@
|
|||
{{ module.metaTitle }}
|
||||
</h2>
|
||||
|
||||
<div class="module__categoryindicators" v-if="$flavor.showModuleFilter">
|
||||
<div
|
||||
class="module__categoryindicators"
|
||||
v-if="$flavor.showModuleFilter"
|
||||
>
|
||||
<pill :text="module.level?.name"></pill>
|
||||
<pill :text="module.category?.name"></pill>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<h1
|
||||
|
|
@ -66,7 +67,7 @@
|
|||
|
||||
<div
|
||||
class="module__objective-groups"
|
||||
v-if="module.objectiveGroups.length"
|
||||
v-if="module.objectiveGroups.length && showObjectives() || true"
|
||||
>
|
||||
<objective-groups
|
||||
:groups="languageCommunicationObjectiveGroups"
|
||||
|
|
@ -98,7 +99,7 @@
|
|||
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
|
||||
import Chapter from '@/components/Chapter.vue';
|
||||
import BookmarkActions from '@/components/notes/BookmarkActions.vue';
|
||||
import Pill from "@/components/ui/Pill.vue";
|
||||
import Pill from '@/components/ui/Pill.vue';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
@ -138,6 +139,11 @@
|
|||
return this.module.bookmark.note;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
showObjectives() {
|
||||
return this.$route && this.$route.query["show-objectives"] !== undefined;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
@ -183,7 +189,6 @@
|
|||
&__meta-title {
|
||||
@include meta-title;
|
||||
margin-right: $medium-spacing;
|
||||
|
||||
}
|
||||
|
||||
&__intro-wrapper {
|
||||
|
|
|
|||
Loading…
Reference in New Issue