Skip to content

Commit

Permalink
fix: [QBO] There is no option to enter credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
layacat committed Oct 15, 2024
1 parent 42d240e commit 8173b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/accounting/PolicyAccountingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {

const overflowMenu: ThreeDotsMenuProps['menuItems'] = useMemo(
() => [
...(connectedIntegration === CONST.POLICY.CONNECTIONS.NAME.SAGE_INTACCT || connectedIntegration === CONST.POLICY.CONNECTIONS.NAME.NETSUITE
...(shouldShowEnterCredentials
? [
{
icon: Expensicons.Key,
Expand All @@ -133,7 +133,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {
shouldCallAfterModalHide: true,
},
],
[translate, isOffline, policyID, connectedIntegration, startIntegrationFlow],
[shouldShowEnterCredentials, translate, isOffline, policyID, connectedIntegration, startIntegrationFlow],
);

useFocusEffect(
Expand Down

0 comments on commit 8173b9d

Please sign in to comment.