Skip to content

Commit

Permalink
Update src/pages/workspace/companyCards/utils.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: DylanDylann <[email protected]>
  • Loading branch information
narefyev91 and DylanDylann authored Nov 21, 2024
1 parent faecce2 commit 5a1783d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/pages/workspace/companyCards/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,12 @@ function getExportMenuItem(
exportType,
shouldShowMenuItem,
onExportPagePress: () => Navigation.navigate(ROUTES.POLICY_ACCOUNTING_QUICKBOOKS_ONLINE_EXPORT.getRoute(policyID)),
data: resultData.map((card) => {
return {
value: card.name,
text: card.name,
keyForList: card.name,
isSelected: isDefaultTitle ? card.name === defaultCard : card.name === selectedAccount,
};
}),
data: resultData.map((card) => ({
value: card.name,
text: card.name,
keyForList: card.name,
isSelected: isDefaultTitle ? card.name === defaultCard : card.name === selectedAccount,
})),
};
}
case CONST.POLICY.CONNECTIONS.NAME.XERO: {
Expand Down

0 comments on commit 5a1783d

Please sign in to comment.