- fixed bug when was sending the wrong ID for uploading files;
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -741,7 +741,7 @@ const DomandaEditPreInstructor = () => {
|
||||
if (data.evaluationVersion === 'V1') {
|
||||
return !allFilesRated || !atLeastOneChecked;
|
||||
} else if (data.evaluationVersion === 'V2') {
|
||||
return !atLeastOneChecked;
|
||||
return !allFilesRated || !atLeastOneChecked;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
@@ -944,7 +944,7 @@ const DomandaEditPreInstructor = () => {
|
||||
['evaluationDocument']
|
||||
)}
|
||||
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
|
||||
sourceId={data.assignedApplicationId}
|
||||
sourceId={data.applicationId}
|
||||
sourceName="evaluation"/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user