We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 688066f commit b72ace7Copy full SHA for b72ace7
1 file changed
hwproj.front/src/components/Solutions/TaskSolutions.tsx
@@ -200,7 +200,7 @@ const TaskSolutions: FC<ITaskSolutionsProps> = (props) => {
200
isLastSolution={true}
201
courseId={props.courseId}
202
courseFilesInfo={props.courseFiles}
203
- isProcessing={props.processingFiles[lastSolution.id!]?.isLoading || false}
+ isProcessing={lastSolution && (props.processingFiles[lastSolution.id!]?.isLoading || false)}
204
/>
205
: <div>
206
Студент не отправил ни одного решения.
0 commit comments