diff --git a/frontend/src/components/QuestionBox.vue b/frontend/src/components/QuestionBox.vue index 8072df16..69668bed 100644 --- a/frontend/src/components/QuestionBox.vue +++ b/frontend/src/components/QuestionBox.vue @@ -66,7 +66,9 @@ const createQuestionMutation = useCreateQuestionMutation(loID); const groupsQueryResult = useStudentGroupsQuery(authService.authState.user?.profile.preferred_username); - const showQuestionBox = computed(() => authService.authState.activeRole === AccountType.Student && pathIsAssignment.value); + const showQuestionBox = computed( + () => authService.authState.activeRole === AccountType.Student && pathIsAssignment.value, + ); function submitQuestion(): void { const assignments = studentAssignmentsQueryResult.data.value?.assignments as AssignmentDTO[]; @@ -96,8 +98,11 @@