Merge branch 'dev' into feat/discussions

This commit is contained in:
Tibo De Peuter 2025-05-17 19:52:21 +02:00
commit edc52a559c
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
181 changed files with 7820 additions and 1515 deletions

View file

@ -7,8 +7,8 @@
import type { AnswerData, AnswerDTO } from "@dwengo-1/common/interfaces/answer";
import authService from "@/services/auth/auth-service";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const props = defineProps<{
@ -22,7 +22,7 @@
expanded.value = !expanded.value;
// Scroll to the answers container if expanded
if (expanded.value && answersContainer.value) {
if (expanded.value && answersContainer.value) {
setTimeout(() => {
if (answersContainer.value) {
answersContainer.value.scrollIntoView({
@ -97,7 +97,7 @@
{{ question.content }}
</div>
<div
v-if="authService.authState.activeRole === 'teacher'"
v-if="authService.authState.activeRole === AccountType.Teacher"
class="answer-input-container"
>
<input