Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
ALBERICLOOS committed May 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8fabdf4 commit 337c356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/teacher/CreateProject.tsx
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ export function CreateProject(): JSX.Element {

const emptyProjectTeacher: ProjectTeacher = {
projectId: -1,
courseName: data.courses[0].course_name,
courseName: data.courses.filter(course => !course.course_archived)[0].course_name,
all_courses: data.courses,
deadline: new Date(Date.now()),
description: "",
@@ -29,7 +29,7 @@ export function CreateProject(): JSX.Element {
minutes: 0,
amount_groups: 1,
otherFilesAllow: false,
visible: false,
visible: true,
archived: false,
projectName: "",
requiredFiles: {

0 comments on commit 337c356

Please sign in to comment.