We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d92467 commit e4b85abCopy full SHA for e4b85ab
1 file changed
hwproj.front/src/components/Solutions/StudentSolutionsPage.tsx
@@ -343,6 +343,7 @@ const StudentSolutionsPage: FC = () => {
343
{currentHomeworksGroup && taskIndexInHomework !== -1 && currentHomeworksGroup.statsForHomeworks!.length > 1 &&
344
<Tabs
345
onChange={(_, value) => navigate(`/task/${currentHomeworksGroup!.statsForHomeworks![value].statsForTasks![taskIndexInHomework]!.taskId!}/${currentStudentId}`)}
346
+ defaultValue={currentHomeworksGroup!.statsForHomeworks!.length - 1}
347
variant="scrollable"
348
scrollButtons={"auto"}
349
value={versionOfTask}
0 commit comments