From ea61b9fea844f2dd861b8a40b23e1c959bdcbe9a Mon Sep 17 00:00:00 2001 From: Kamil Malinowski Date: Wed, 10 Jan 2024 15:23:01 +0100 Subject: [PATCH] CM-417 Include previous state in task definition (#58) --- src/components/tasks/BenefitPlanTasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tasks/BenefitPlanTasks.js b/src/components/tasks/BenefitPlanTasks.js index 54e2992..4dea575 100644 --- a/src/components/tasks/BenefitPlanTasks.js +++ b/src/components/tasks/BenefitPlanTasks.js @@ -20,7 +20,7 @@ const BenefitPlanTaskItemFormatters = () => [ (benefitPlan) => benefitPlan?.date_valid_to, (benefitPlan) => benefitPlan?.max_beneficiaries, (benefitPlan) => benefitPlan?.institution, - (benefitPlan) => benefitPlan?.beneficiary_data_schema, + (benefitPlan) => JSON.stringify(benefitPlan?.beneficiary_data_schema), ]; export { BenefitPlanTaskTableHeaders, BenefitPlanTaskItemFormatters };