Skip to content

Commit

Permalink
Merge pull request #43071 from Krishna2323/krishna2323/issue/42788
Browse files Browse the repository at this point in the history
fix: Distance rates - Default distance rate is Disabled instead of Enabled after creating new WS.
  • Loading branch information
puneetlath authored Jun 10, 2024
2 parents 22d0c65 + 1e13043 commit 0ffd66c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ const CONST = {
NAME_DISTANCE: 'Distance',
DISTANCE_UNIT_MILES: 'mi',
DISTANCE_UNIT_KILOMETERS: 'km',
MILEAGE_IRS_RATE: 0.655,
MILEAGE_IRS_RATE: 0.67,
DEFAULT_RATE: 'Default Rate',
RATE_DECIMALS: 3,
FAKE_P2P_ID: '_FAKE_P2P_ID_',
Expand Down
1 change: 1 addition & 0 deletions src/libs/actions/Policy/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,7 @@ function buildOptimisticCustomUnits(): OptimisticCustomUnits {
rate: CONST.CUSTOM_UNITS.MILEAGE_IRS_RATE * CONST.POLICY.CUSTOM_UNIT_RATE_BASE_OFFSET,
enabled: true,
currency,
enabled: true,

Check failure on line 1412 in src/libs/actions/Policy/Policy.ts

View workflow job for this annotation

GitHub Actions / typecheck / typecheck

An object literal cannot have multiple properties with the same name.
},
},
},
Expand Down

0 comments on commit 0ffd66c

Please sign in to comment.