Skip to content

Commit

Permalink
Merge pull request #47591 from FitseTLT/fix-pending-tax-rate-status
Browse files Browse the repository at this point in the history
Fix - Distance rate is not grayed out after editing "Tax rate" & "Tax reclaimable" offline
  • Loading branch information
flodnv authored Aug 19, 2024
2 parents 62722e8 + 3565c4f commit d43f6e1
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 d43f6e1

Please sign in to comment.