From ca95603f97c13d5321833ba17eccd8e32324655f Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 20 May 2025 11:30:53 +0000 Subject: [PATCH] style: fix linting issues met Prettier --- backend/src/data/questions/question-repository.ts | 2 +- frontend/src/components/QuestionBox.vue | 2 +- frontend/src/views/learning-paths/LearningPathPage.vue | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/backend/src/data/questions/question-repository.ts b/backend/src/data/questions/question-repository.ts index a07a0a94..5f98bcd0 100644 --- a/backend/src/data/questions/question-repository.ts +++ b/backend/src/data/questions/question-repository.ts @@ -18,7 +18,7 @@ export class QuestionRepository extends DwengoEntityRepository { content: question.content, timestamp: new Date(), }); - console.log(questionEntity) + console.log(questionEntity); await this.save(questionEntity, { preventOverwrite: true }); return questionEntity; } diff --git a/frontend/src/components/QuestionBox.vue b/frontend/src/components/QuestionBox.vue index be5ea9ae..9458148a 100644 --- a/frontend/src/components/QuestionBox.vue +++ b/frontend/src/components/QuestionBox.vue @@ -25,7 +25,7 @@ const loID: ComputedRef = computed(() => ({ hruid: props.learningObjectHruid as string, language: props.learningObjectLanguage, - version: props.learningObjectVersion + version: props.learningObjectVersion, })); const createQuestionMutation = useCreateQuestionMutation(loID); diff --git a/frontend/src/views/learning-paths/LearningPathPage.vue b/frontend/src/views/learning-paths/LearningPathPage.vue index 4eb0331a..b61628f1 100644 --- a/frontend/src/views/learning-paths/LearningPathPage.vue +++ b/frontend/src/views/learning-paths/LearningPathPage.vue @@ -357,7 +357,11 @@ :learningObjectHruid="currentNode.learningobjectHruid" :learningObjectLanguage="currentNode.language" :learningObjectVersion="currentNode.version" - :forGroup="{assignment: forGroup.assignmentNo, class: forGroup.classId, groupNumber: forGroup.forGroup}" + :forGroup="{ + assignment: forGroup.assignmentNo, + class: forGroup.classId, + groupNumber: forGroup.forGroup, + }" @updated="refetchQuestions" />