style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-05-20 10:07:24 +00:00
parent d4dc519a59
commit 62ba67b5b6
3 changed files with 11 additions and 13 deletions

View file

@ -1,9 +1,9 @@
<script setup lang="ts"> <script setup lang="ts">
import type { LearningObject } from '@/data-objects/learning-objects/learning-object'; import type { LearningObject } from "@/data-objects/learning-objects/learning-object";
import type { LearningPath } from '@/data-objects/learning-paths/learning-path'; import type { LearningPath } from "@/data-objects/learning-paths/learning-path";
import { useLearningObjectListForPathQuery } from '@/queries/learning-objects'; import { useLearningObjectListForPathQuery } from "@/queries/learning-objects";
import { useRoute } from 'vue-router'; import { useRoute } from "vue-router";
import UsingQueryResult from '@/components/UsingQueryResult.vue'; import UsingQueryResult from "@/components/UsingQueryResult.vue";
import QuestionNotification from "@/components/QuestionNotification.vue"; import QuestionNotification from "@/components/QuestionNotification.vue";
const route = useRoute(); const route = useRoute();
@ -38,9 +38,9 @@
:title="node.title" :title="node.title"
:active="node.key === props.activeObjectId" :active="node.key === props.activeObjectId"
> >
<template v-slot:append> <template v-slot:append>
<QuestionNotification :node="node"></QuestionNotification> <QuestionNotification :node="node"></QuestionNotification>
</template> </template>
</v-list-item> </v-list-item>
</template> </template>
</using-query-result> </using-query-result>

View file

@ -11,8 +11,8 @@
const route = useRoute(); const route = useRoute();
const props = defineProps<{ const props = defineProps<{
learningObjectHruid: string; learningObjectHruid: string;
}>(); }>();
const navigationDrawerShown = ref(true); const navigationDrawerShown = ref(true);
const currentLocale = ref(locale.value); const currentLocale = ref(locale.value);

View file

@ -75,9 +75,7 @@
</script> </script>
<template> <template>
<DiscussionsSideBar <DiscussionsSideBar :learningObjectHruid="props.learningObjectHruid"> </DiscussionsSideBar>
:learningObjectHruid="props.learningObjectHruid">
</DiscussionsSideBar>
<div class="discussions-container"> <div class="discussions-container">
<QuestionBox <QuestionBox
:hruid="props.hruid" :hruid="props.hruid"