Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqua-sc committed May 23, 2024
1 parent cc5538a commit a1f5cdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"+
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/project/components/SubmissionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit a1f5cdc

Please sign in to comment.