From 16caadcdb4e6fc5d01c93c49bb2610259f9b3a22 Mon Sep 17 00:00:00 2001 From: samshara Date: Fri, 8 Dec 2023 10:56:44 +0545 Subject: [PATCH] fix: for 'Loan' type DREF in Ops Update change 'allocation for' to 'Emergency Appeal' --- src/views/AccountMyFormsDref/DrefTableActions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/AccountMyFormsDref/DrefTableActions/index.tsx b/src/views/AccountMyFormsDref/DrefTableActions/index.tsx index 2caac21c6..668342fc2 100644 --- a/src/views/AccountMyFormsDref/DrefTableActions/index.tsx +++ b/src/views/AccountMyFormsDref/DrefTableActions/index.tsx @@ -112,7 +112,7 @@ function DrefTableActions(props: Props) { ), onSuccess: (response) => { const exportData = { - allocationFor: 'DREF Operation', + allocationFor: response?.type_of_dref_display === 'Loan' ? 'Emergency Appeal' : 'DREF Operation', appealManager: response?.ifrc_appeal_manager_name, projectManager: response?.ifrc_project_manager_name, affectedCountry: response?.country_details?.name,