diff --git a/frontend/src/types/users/Student.ts b/frontend/src/types/users/Student.ts index f6594358..8ba17f8c 100644 --- a/frontend/src/types/users/Student.ts +++ b/frontend/src/types/users/Student.ts @@ -3,10 +3,6 @@ import { type Faculty } from '../Faculty.ts'; import { type Group } from '../Group.ts'; import { type Role, User } from '@/types/users/User.ts'; -interface StudentProps { - [key: string]: any; -} - export class Student extends User { constructor( public id: string, @@ -44,7 +40,7 @@ export class Student extends User { * * @param student */ - static fromJSON(student: StudentProps): Student { + static fromJSON(student: Student): Student { return new Student( student.id, student.username, diff --git a/frontend/src/views/dashboard/roles/AssistantDashboardView.vue b/frontend/src/views/dashboard/roles/AssistantDashboardView.vue index 27a563a6..e900401c 100644 --- a/frontend/src/views/dashboard/roles/AssistantDashboardView.vue +++ b/frontend/src/views/dashboard/roles/AssistantDashboardView.vue @@ -43,18 +43,8 @@ watch( diff --git a/frontend/src/views/dashboard/roles/StudentDashboardView.vue b/frontend/src/views/dashboard/roles/StudentDashboardView.vue index 5e6cd2cd..0529cc08 100644 --- a/frontend/src/views/dashboard/roles/StudentDashboardView.vue +++ b/frontend/src/views/dashboard/roles/StudentDashboardView.vue @@ -42,9 +42,17 @@ watch( diff --git a/frontend/src/views/dashboard/roles/TeacherDashboardView.vue b/frontend/src/views/dashboard/roles/TeacherDashboardView.vue index 7c06c294..618db000 100644 --- a/frontend/src/views/dashboard/roles/TeacherDashboardView.vue +++ b/frontend/src/views/dashboard/roles/TeacherDashboardView.vue @@ -46,9 +46,21 @@ watch(