style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									f9b74c5f2d
								
							
						
					
					
						commit
						23d29f4a3c
					
				
					 1 changed files with 20 additions and 18 deletions
				
			
		|  | @ -1,18 +1,18 @@ | |||
| <script setup lang="ts"> | ||||
| import { computed, type ComputedRef, ref, watchEffect } from 'vue'; | ||||
| import auth from '@/services/auth/auth-service.ts'; | ||||
| import { useI18n } from 'vue-i18n'; | ||||
| import UsingQueryResult from '@/components/UsingQueryResult.vue'; | ||||
| import { asyncComputed } from '@vueuse/core'; | ||||
| import { useStudentsByUsernamesQuery } from '@/queries/students.ts'; | ||||
| import { useGetLearningPathQuery } from '@/queries/learning-paths.ts'; | ||||
| import type { Language } from '@/data-objects/language.ts'; | ||||
| import { calculateProgress } from '@/utils/assignment-utils.ts'; | ||||
| import type { LearningPath } from '@/data-objects/learning-paths/learning-path.ts'; | ||||
| import type { GroupDTO } from '@dwengo-1/common/interfaces/group'; | ||||
| import { useAssignmentQuery } from '@/queries/assignments.ts'; | ||||
| import type { AssignmentDTO } from '@dwengo-1/common/interfaces/assignment'; | ||||
| import type { StudentDTO } from '@dwengo-1/common/interfaces/student'; | ||||
|     import { computed, type ComputedRef, ref, watchEffect } from "vue"; | ||||
|     import auth from "@/services/auth/auth-service.ts"; | ||||
|     import { useI18n } from "vue-i18n"; | ||||
|     import UsingQueryResult from "@/components/UsingQueryResult.vue"; | ||||
|     import { asyncComputed } from "@vueuse/core"; | ||||
|     import { useStudentsByUsernamesQuery } from "@/queries/students.ts"; | ||||
|     import { useGetLearningPathQuery } from "@/queries/learning-paths.ts"; | ||||
|     import type { Language } from "@/data-objects/language.ts"; | ||||
|     import { calculateProgress } from "@/utils/assignment-utils.ts"; | ||||
|     import type { LearningPath } from "@/data-objects/learning-paths/learning-path.ts"; | ||||
|     import type { GroupDTO } from "@dwengo-1/common/interfaces/group"; | ||||
|     import { useAssignmentQuery } from "@/queries/assignments.ts"; | ||||
|     import type { AssignmentDTO } from "@dwengo-1/common/interfaces/assignment"; | ||||
|     import type { StudentDTO } from "@dwengo-1/common/interfaces/student"; | ||||
| 
 | ||||
|     const props = defineProps<{ | ||||
|         classId: string; | ||||
|  | @ -30,7 +30,9 @@ const props = defineProps<{ | |||
| 
 | ||||
|     const assignmentQueryResult = useAssignmentQuery(props.classId, props.assignmentId); | ||||
| 
 | ||||
|     const assignment: ComputedRef<AssignmentDTO | undefined> = computed(() => assignmentQueryResult.data.value?.assignment); | ||||
|     const assignment: ComputedRef<AssignmentDTO | undefined> = computed( | ||||
|         () => assignmentQueryResult.data.value?.assignment, | ||||
|     ); | ||||
| 
 | ||||
|     learningPath.value = assignment.value?.learningPath; | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action