Skip to content

Commit 73fcc6c

Browse files
fix/other contracting method in budget proposal review
1 parent 55341ce commit 73fcc6c

File tree

1 file changed

+7
-3
lines changed
  • pdf-ui/src/components/BudgetDiscussionParts/BudgetDiscussionReview

1 file changed

+7
-3
lines changed

pdf-ui/src/components/BudgetDiscussionParts/BudgetDiscussionReview/index.jsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,13 @@ const BudgetDiscussionReview = ({
587587
'contracting-type-name-content'
588588
}
589589
/>
590-
{currentBudgetDiscussionData
591-
?.bd_proposal_detail?.contract_type_name
592-
.attributes?.contract_type_name ===
590+
{allContractTypeList.find(
591+
(co) =>
592+
co.id ===
593+
currentBudgetDiscussionData
594+
?.bd_proposal_detail
595+
?.contract_type_name
596+
)?.attributes?.contract_type_name ===
593597
'Other' && (
594598
<InfoSection
595599
question='Please describe what you have in mind.'

0 commit comments

Comments
 (0)