style: fix linting issues met Prettier
This commit is contained in:
parent
c9406f52aa
commit
0e8b1d803f
2 changed files with 8 additions and 4 deletions
|
@ -2,12 +2,12 @@
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import UsingQueryResult from "@/components/UsingQueryResult.vue";
|
import UsingQueryResult from "@/components/UsingQueryResult.vue";
|
||||||
import type { SubmissionsResponse } from "@/controllers/submissions.ts";
|
import type { SubmissionsResponse } from "@/controllers/submissions.ts";
|
||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from "vue";
|
||||||
import { useGetLearningPathQuery } from '@/queries/learning-paths.ts';
|
import { useGetLearningPathQuery } from "@/queries/learning-paths.ts";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
learningPathHruid: string;
|
learningPathHruid: string;
|
||||||
language: string,
|
language: string;
|
||||||
group: object;
|
group: object;
|
||||||
assignmentId: number;
|
assignmentId: number;
|
||||||
classId: string;
|
classId: string;
|
||||||
|
|
|
@ -49,7 +49,11 @@ export class AssignmentController extends BaseController {
|
||||||
return this.get<GroupsResponse>(`/${assignmentNumber}/groups`, { full });
|
return this.get<GroupsResponse>(`/${assignmentNumber}/groups`, { full });
|
||||||
}
|
}
|
||||||
|
|
||||||
async getSubmissionsByGroup(assignmentNumber: number, groupNumber: number, full = true): Promise<SubmissionsResponse> {
|
async getSubmissionsByGroup(
|
||||||
|
assignmentNumber: number,
|
||||||
|
groupNumber: number,
|
||||||
|
full = true,
|
||||||
|
): Promise<SubmissionsResponse> {
|
||||||
return this.get<SubmissionsResponse>(`/${assignmentNumber}/groups/${groupNumber}/submissions`, { full });
|
return this.get<SubmissionsResponse>(`/${assignmentNumber}/groups/${groupNumber}/submissions`, { full });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue