Skip to content

Commit

Permalink
add missing pendingFields in distance rate page
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Aug 16, 2024
1 parent bc69605 commit 3565c4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ function PolicyDistanceRatesPage({
value.pendingFields?.rate ??
value.pendingFields?.enabled ??
value.pendingFields?.currency ??
value.pendingFields?.taxRateExternalID ??
value.pendingFields?.taxClaimablePercentage ??
(policy?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD ? policy?.pendingAction : undefined),
errors: value.errors ?? undefined,
rightElement: <ListItemRightCaretWithLabel labelText={value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')} />,
Expand Down

0 comments on commit 3565c4f

Please sign in to comment.