diff --git a/src/pages/DomandaEditInstructorManager/index.js b/src/pages/DomandaEditInstructorManager/index.js index 47bde68..8630694 100644 --- a/src/pages/DomandaEditInstructorManager/index.js +++ b/src/pages/DomandaEditInstructorManager/index.js @@ -1218,7 +1218,7 @@ const DomandaEditInstructorManager = () => { disabled={!isAdmissible || ['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data) - || (APP_EVALUATION_FLOW_ID === '1' && !['TECHNICAL_EVALUATION'].includes(data.applicationStatus)) + || (APP_EVALUATION_FLOW_ID === '1' && !['AWAITING_TECHNICAL_EVALUATION'].includes(data.applicationStatus)) || connectedSoccorsoId !== 0 } onClick={initiateApproving} @@ -1228,10 +1228,7 @@ const DomandaEditInstructorManager = () => { ? : null} diff --git a/src/pages/DomandaEditPreInstructor/index.js b/src/pages/DomandaEditPreInstructor/index.js index 24d81c9..ceb7269 100644 --- a/src/pages/DomandaEditPreInstructor/index.js +++ b/src/pages/DomandaEditPreInstructor/index.js @@ -1218,7 +1218,7 @@ const DomandaEditPreInstructor = () => { disabled={!isAdmissible || ['APPROVED', 'REJECTED'].includes(data.applicationStatus) || evaluationBlockedForUser(data) - || (APP_EVALUATION_FLOW_ID === '1' && !['TECHNICAL_EVALUATION'].includes(data.applicationStatus)) + || (APP_EVALUATION_FLOW_ID === '1' && !['AWAITING_TECHNICAL_EVALUATION'].includes(data.applicationStatus)) || connectedSoccorsoId !== 0 } onClick={initiateApproving} @@ -1228,10 +1228,7 @@ const DomandaEditPreInstructor = () => { ? : null} diff --git a/src/pages/SoccorsoEditInstructorManager/index.js b/src/pages/SoccorsoEditInstructorManager/index.js index b8faa2b..56647cb 100644 --- a/src/pages/SoccorsoEditInstructorManager/index.js +++ b/src/pages/SoccorsoEditInstructorManager/index.js @@ -435,7 +435,7 @@ const SoccorsoEditInstructorManager = () => { : null} {(data.formFields && !isEmpty(data.formFields)) || (data.amendmentType === 'SPECIAL' && !isNil(data.amendmentDocumentType) - && amendmentRequestedDocs[data.amendmentDocumentType]) + && !isNil(amendmentRequestedDocs[data.amendmentDocumentType]) && !isNil(amendmentRequestedDocs[data.amendmentDocumentType].map)) ?