diff --git a/frontend/src/pages/teacher/ProjectsViewTeacher.tsx b/frontend/src/pages/teacher/ProjectsViewTeacher.tsx index 219e5b2f..886c80a7 100644 --- a/frontend/src/pages/teacher/ProjectsViewTeacher.tsx +++ b/frontend/src/pages/teacher/ProjectsViewTeacher.tsx @@ -34,13 +34,14 @@ export default function ProjectsViewTeacher(): JSX.Element { const data: projectsTeacherLoaderObject = useRouteLoaderData(PROJECTS_TEACHER_ROUTER_ID) as projectsTeacherLoaderObject const active_projects = data.projects.filter((project) => !project.project_archived && project.project_visible); - const hidden_projects = data.projects.filter((project) => !project.project_archived && !project.project_visible); + // Voorlopig is er geen functionaliteit om projecten te verbergen. Vandaar zullen projecten altijd zichtbaar zijn. + // const hidden_projects = data.projects.filter((project) => !project.project_archived && !project.project_visible); const archived_projects = data.projects.filter((project) => project.project_archived); const { t } = useTranslation(); const tableProjectsActive: TableRowProjects[] = GenerateTableRowProjects(active_projects); - const tableProjectsHidden: TableRowProjects[] = GenerateTableRowProjects(hidden_projects); + // const tableProjectsHidden: TableRowProjects[] = GenerateTableRowProjects(hidden_projects); const tableProjectsArchived: TableRowProjects[] = GenerateTableRowProjects(archived_projects); return ( @@ -59,8 +60,8 @@ export default function ProjectsViewTeacher(): JSX.Element {
-
+ {/*
*/}