Skip to content

Commit

Permalink
typecheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Apr 24, 2024
1 parent d9187ec commit 34dc692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6117,7 +6117,7 @@ function createDraftTransactionAndNavigateToParticipantSelector(transactionID: s
mccGroup,
} as Transaction);

const filteredPolicies = Object.values(allPolicies).filter(
const filteredPolicies = Object.values(allPolicies ?? {}).filter(
(policy) => policy?.type !== CONST.POLICY.TYPE.PERSONAL && policy?.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,
);

Expand Down

0 comments on commit 34dc692

Please sign in to comment.