Merge remote-tracking branch 'origin/master' into AddBranchToCurriculum

This commit is contained in:
Wal committed 2024-04-21 21:51:14 +02:00
commit 9cd54bdae9
15 files changed
+219 -92

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ import { fetchedPost, fetchPost, sendAnswer } from '@/rest/forum.js'
import { getSelf } from '@/rest/Users.js'
const Role = (await getSelf()).role;
const courses = Role === 'Admin' || Role === 'Secretary' ? await reactive(getCourses()) : await reactive(getUserActualCourses());
const courses = Role === 'Admin' || Role === 'Secretary' || Role === 'Teacher' ? await reactive(getCourses(Role)) : await reactive(getUserActualCourses());
const selectedCourse = ref();
const selectedForum = ref();