diff --git a/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx b/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx index 77fe216b..f148e778 100644 --- a/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx +++ b/frontend/src/components/forms/projectFormTabs/DockerFormTab.tsx @@ -109,8 +109,8 @@ const DockerFormTab: FC<{ form: FormInstance }> = ({ form }) => { if (withTemplate) { switchClassName += ' template-switch-active' - scriptPlaceholder = "bash /shared/input/helloworld.sh > \"/shared/output/helloWorldTest\n"+ - "bash /shared/input/helloug.sh > \"/shared/output/helloUGent\n" + scriptPlaceholder = "bash /shared/input/helloworld.sh > \"/shared/output/helloWorldTest\"\n"+ + "bash /shared/input/helloug.sh > \"/shared/output/helloUGent\"\n" } else { switchClassName += ' template-switch-inactive' scriptPlaceholder = "output=$(bash /shared/input/helloworld.sh)\n"+ diff --git a/frontend/src/pages/project/components/SubmissionsTable.tsx b/frontend/src/pages/project/components/SubmissionsTable.tsx index 3b066efb..fc321c74 100644 --- a/frontend/src/pages/project/components/SubmissionsTable.tsx +++ b/frontend/src/pages/project/components/SubmissionsTable.tsx @@ -74,7 +74,6 @@ const SubmissionsTable: FC<{ submissions: ProjectSubmissionsType[] | null; onCha if (isNaN(score as number)) score = null; if (score !== null && score > project.maxScore) return message.error(t("project.scoreTooHigh")); await updateTable(s.group.groupId, { score: score ?? null, feedback: s.feedback?.feedback ?? "" }, s.feedback === null); - setIsEditingScore((prev) => ({ ...prev, [s.group.groupId]: false })); }; const updateFeedback = async (groupId: number) => {