Skip to content

Commit

Permalink
Update default value to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Jul 27, 2023
1 parent 73b1d71 commit 03f85c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function getNonOptimisticPolicyIDs(policies) {
*/
function getNonOptimisticPolicyIDToLastModifiedMap(policies) {
return _.chain(policies)
.reject((policy) => lodashGet(policy, 'pendingAction', null) === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD)
.reject((policy) => lodashGet(policy, 'pendingAction', '') === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD)
.map((policy) => [policy.id, policy.lastModified || 0])
.object()
.value();
Expand Down

0 comments on commit 03f85c7

Please sign in to comment.