Skip to content

Commit 0e27236

Browse files
Merge pull request #1154 from topcoder-platform/PM-1496
Pm 1496 Show other payment type in opportunity listing
2 parents e1b02ab + 02e5b80 commit 0e27236

File tree

1 file changed

+7
-1
lines changed
  • src/apps/copilots/src/pages/copilot-opportunity-list

1 file changed

+7
-1
lines changed

src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,13 @@ const tableColumns: TableColumn<CopilotOpportunity>[] = [
102102
{
103103
label: 'Payment',
104104
propertyName: 'paymentType',
105-
type: 'text',
105+
renderer: (copilotOpportunity: CopilotOpportunity) => (
106+
<div>
107+
{copilotOpportunity.paymentType === 'standard'
108+
? copilotOpportunity.paymentType : copilotOpportunity.otherPaymentType}
109+
</div>
110+
),
111+
type: 'element',
106112
},
107113
]
108114

0 commit comments

Comments
 (0)