From b71c6feed40a994aa0416368bb8aa3f7eae1f2e9 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Mon, 15 Jan 2024 16:38:48 +0330 Subject: [PATCH 1/2] fixed bug --- .../loan-history/Form/HistoryForm/TableContent.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx b/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx index d9382a1..0bc4e00 100644 --- a/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx +++ b/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx @@ -74,8 +74,10 @@ const TableContent = ({rowId}) => { {historyDetails.state_name} {historyDetails.latest_histories[0].expert_description} - {historyDetails.latest_histories[0].attachments.map(attachment => )} + {historyDetails.latest_histories[0].attachments.map((attachment, index) => + )} {historyDetails.latest_histories.map((latest_history, index) => { @@ -96,7 +98,8 @@ const TableContent = ({rowId}) => { {latest_history.previous_state_name} {_expert_description} - {_attachments.map(attachment => )} + {_attachments.map((attachment, index) => )} ) })} From 63dd6c1855ef34ddef6df0a4c2793da4a1fb0587 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Mon, 15 Jan 2024 16:39:38 +0330 Subject: [PATCH 2/2] change version --- example.env.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.env.local b/example.env.local index cbea825..06adaec 100644 --- a/example.env.local +++ b/example.env.local @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "1.29.0" +NEXT_PUBLIC_API_VERSION = "1.29.1" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"