diff --git a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx index 3ff5a89b48..9b23596092 100644 --- a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx +++ b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx @@ -187,23 +187,7 @@ const DynamicAssessmentActionsRow: FunctionComponent< onOpenModal(assessment); } else if (action === AssessmentAction.Retake) { if (assessment) { - try { - await deleteAssessmentAsync({ - assessmentId: assessment.id, - applicationName: application?.name, - applicationId: application?.id, - archetypeName: archetype?.name, - archetypeId: archetype?.id, - }).then(() => { - createAssessment(); - }); - } catch (error) { - pushNotification({ - title: t("terms.error"), - variant: "danger", - }); - console.error("Error while deleting assessment:", error); - } + onOpenModal(assessment); } } };