- fixed bug when was sending the wrong ID for uploading files;

This commit is contained in:
Vitalii Kiiko
2025-02-18 13:55:50 +01:00
parent 2dff0bdfcf
commit 008a78a8b1
2 changed files with 4 additions and 4 deletions

View File

@@ -739,7 +739,7 @@ const DomandaEditInstructorManager = () => {
if (data.evaluationVersion === 'V1') {
return !allFilesRated || !atLeastOneChecked;
} else if (data.evaluationVersion === 'V2') {
return !atLeastOneChecked;
return !allFilesRated || !atLeastOneChecked;
} else {
return true;
}
@@ -939,7 +939,7 @@ const DomandaEditInstructorManager = () => {
['evaluationDocument']
)}
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
sourceId={data.assignedApplicationId}
sourceId={data.applicationId}
sourceName="evaluation"/>
</div>