style: fix linting issues met Prettier
This commit is contained in:
parent
f85abea6f3
commit
84b2cb1749
3 changed files with 40 additions and 19 deletions
|
@ -51,8 +51,22 @@ export function useQuestionsGroupQuery(
|
|||
full: MaybeRefOrGetter<boolean> = true,
|
||||
): UseQueryReturnType<QuestionsResponse, Error> {
|
||||
return useQuery({
|
||||
queryKey: computed(() => questionsGroupQueryKey(toValue(loId), toValue(full), toValue(classId), toValue(assignmentId), toValue(student))),
|
||||
queryFn: async () => new QuestionController(toValue(loId)).getAllGroup( toValue(classId), toValue(assignmentId), toValue(student),toValue(full)),
|
||||
queryKey: computed(() =>
|
||||
questionsGroupQueryKey(
|
||||
toValue(loId),
|
||||
toValue(full),
|
||||
toValue(classId),
|
||||
toValue(assignmentId),
|
||||
toValue(student),
|
||||
),
|
||||
),
|
||||
queryFn: async () =>
|
||||
new QuestionController(toValue(loId)).getAllGroup(
|
||||
toValue(classId),
|
||||
toValue(assignmentId),
|
||||
toValue(student),
|
||||
toValue(full),
|
||||
),
|
||||
enabled: () => Boolean(toValue(loId)),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue