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"> | <script setup lang="ts"> | ||||||
| import { computed, type ComputedRef, ref, watchEffect } from 'vue'; |     import { computed, type ComputedRef, ref, watchEffect } from "vue"; | ||||||
| import auth from '@/services/auth/auth-service.ts'; |     import auth from "@/services/auth/auth-service.ts"; | ||||||
| import { useI18n } from 'vue-i18n'; |     import { useI18n } from "vue-i18n"; | ||||||
| import UsingQueryResult from '@/components/UsingQueryResult.vue'; |     import UsingQueryResult from "@/components/UsingQueryResult.vue"; | ||||||
| import { asyncComputed } from '@vueuse/core'; |     import { asyncComputed } from "@vueuse/core"; | ||||||
| import { useStudentsByUsernamesQuery } from '@/queries/students.ts'; |     import { useStudentsByUsernamesQuery } from "@/queries/students.ts"; | ||||||
| import { useGetLearningPathQuery } from '@/queries/learning-paths.ts'; |     import { useGetLearningPathQuery } from "@/queries/learning-paths.ts"; | ||||||
| import type { Language } from '@/data-objects/language.ts'; |     import type { Language } from "@/data-objects/language.ts"; | ||||||
| import { calculateProgress } from '@/utils/assignment-utils.ts'; |     import { calculateProgress } from "@/utils/assignment-utils.ts"; | ||||||
| import type { LearningPath } from '@/data-objects/learning-paths/learning-path.ts'; |     import type { LearningPath } from "@/data-objects/learning-paths/learning-path.ts"; | ||||||
| import type { GroupDTO } from '@dwengo-1/common/interfaces/group'; |     import type { GroupDTO } from "@dwengo-1/common/interfaces/group"; | ||||||
| import { useAssignmentQuery } from '@/queries/assignments.ts'; |     import { useAssignmentQuery } from "@/queries/assignments.ts"; | ||||||
| import type { AssignmentDTO } from '@dwengo-1/common/interfaces/assignment'; |     import type { AssignmentDTO } from "@dwengo-1/common/interfaces/assignment"; | ||||||
| import type { StudentDTO } from '@dwengo-1/common/interfaces/student'; |     import type { StudentDTO } from "@dwengo-1/common/interfaces/student"; | ||||||
| 
 | 
 | ||||||
|     const props = defineProps<{ |     const props = defineProps<{ | ||||||
|         classId: string; |         classId: string; | ||||||
|  | @ -30,7 +30,9 @@ const props = defineProps<{ | ||||||
| 
 | 
 | ||||||
|     const assignmentQueryResult = useAssignmentQuery(props.classId, props.assignmentId); |     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; |     learningPath.value = assignment.value?.learningPath; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action