style: fix linting issues met Prettier
This commit is contained in:
parent
85221b4cfe
commit
ca95603f97
3 changed files with 7 additions and 3 deletions
|
@ -18,7 +18,7 @@ export class QuestionRepository extends DwengoEntityRepository<Question> {
|
|||
content: question.content,
|
||||
timestamp: new Date(),
|
||||
});
|
||||
console.log(questionEntity)
|
||||
console.log(questionEntity);
|
||||
await this.save(questionEntity, { preventOverwrite: true });
|
||||
return questionEntity;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
const loID: ComputedRef<LearningObjectIdentifierDTO> = computed(() => ({
|
||||
hruid: props.learningObjectHruid as string,
|
||||
language: props.learningObjectLanguage,
|
||||
version: props.learningObjectVersion
|
||||
version: props.learningObjectVersion,
|
||||
}));
|
||||
const createQuestionMutation = useCreateQuestionMutation(loID);
|
||||
|
||||
|
|
|
@ -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"
|
||||
/>
|
||||
<QandA :questions="(questionsResponse.data.questions as QuestionDTO[]) ?? []" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue