- 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') {
|
if (data.evaluationVersion === 'V1') {
|
||||||
return !allFilesRated || !atLeastOneChecked;
|
return !allFilesRated || !atLeastOneChecked;
|
||||||
} else if (data.evaluationVersion === 'V2') {
|
} else if (data.evaluationVersion === 'V2') {
|
||||||
return !atLeastOneChecked;
|
return !allFilesRated || !atLeastOneChecked;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -939,7 +939,7 @@ const DomandaEditInstructorManager = () => {
|
|||||||
['evaluationDocument']
|
['evaluationDocument']
|
||||||
)}
|
)}
|
||||||
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
|
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
|
||||||
sourceId={data.assignedApplicationId}
|
sourceId={data.applicationId}
|
||||||
sourceName="evaluation"/>
|
sourceName="evaluation"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -741,7 +741,7 @@ const DomandaEditPreInstructor = () => {
|
|||||||
if (data.evaluationVersion === 'V1') {
|
if (data.evaluationVersion === 'V1') {
|
||||||
return !allFilesRated || !atLeastOneChecked;
|
return !allFilesRated || !atLeastOneChecked;
|
||||||
} else if (data.evaluationVersion === 'V2') {
|
} else if (data.evaluationVersion === 'V2') {
|
||||||
return !atLeastOneChecked;
|
return !allFilesRated || !atLeastOneChecked;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -944,7 +944,7 @@ const DomandaEditPreInstructor = () => {
|
|||||||
['evaluationDocument']
|
['evaluationDocument']
|
||||||
)}
|
)}
|
||||||
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
|
shouldDisable={['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data)}
|
||||||
sourceId={data.assignedApplicationId}
|
sourceId={data.applicationId}
|
||||||
sourceName="evaluation"/>
|
sourceName="evaluation"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user