Skip to content

Commit

Permalink
chore: fix hyperlink url
Browse files Browse the repository at this point in the history
  • Loading branch information
gitanjli525 committed Sep 26, 2024
1 parent 19d59f0 commit af0bdc3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ let getCell = (paymentObj, colType): Table.cell => {
| PaymentId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/payments/${paymentObj.payment_id}`}
url={`/payments/${paymentObj.payment_id}/${paymentObj.profile_id}`}
displayValue={paymentObj.payment_id}
copyValue={Some(paymentObj.payment_id)}
/>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ let getCell = (paymentObj, colType): Table.cell => {
| PaymentId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/payments/${paymentObj.payment_id}`}
url={`/payments/${paymentObj.payment_id}/${paymentObj.profile_id}`}
displayValue={paymentObj.payment_id}
copyValue={Some(paymentObj.payment_id)}
/>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ let getCell = (refundsObj, colType): Table.cell => {
| RefundId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/refunds/${refundsObj.refund_id}`}
url={`/refunds/${refundsObj.refund_id}/${refundsObj.profile_id}`}
displayValue={refundsObj.refund_id}
copyValue={Some(refundsObj.refund_id)}
/>,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Disputes/DisputesEntity.res
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ let getCell = (disputesData, colType): Table.cell => {
| DisputeId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/disputes/${disputesData.dispute_id}`}
url={`/disputes/${disputesData.dispute_id}/${disputesData.profile_id}`}
displayValue={disputesData.dispute_id}
copyValue={Some(disputesData.dispute_id)}
/>,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Order/OrderEntity.res
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ let getCell = (order, colType: colType): Table.cell => {
| PaymentId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/payments/${order.payment_id}`}
url={`/payments/${order.payment_id}/${order.profile_id}`}
displayValue={order.payment_id}
copyValue={Some(order.payment_id)}
/>,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Payouts/PayoutsEntity.res
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ let getCell = (payoutData, colType): Table.cell => {
| PayoutId =>
CustomCell(
<HSwitchOrderUtils.CopyLinkTableCell
url={`/payouts/${payoutData.payout_id}`}
url={`/payouts/${payoutData.payout_id}/${payoutData.profile_id}`}
displayValue={payoutData.payout_id}
copyValue={Some(payoutData.payout_id)}
/>,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Refunds/RefundEntity.res
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ let getCell = (refundData, colType): Table.cell => {
| RefundId =>
CustomCell(
<CopyLinkTableCell
url={`/refunds/${refundData.refund_id}`}
url={`/refunds/${refundData.refund_id}/${refundData.profile_id}`}
displayValue={refundData.refund_id}
copyValue={Some(refundData.refund_id)}
/>,
Expand Down

0 comments on commit af0bdc3

Please sign in to comment.