Skip to content

Commit

Permalink
Merge pull request #45583 from mananjadhav/mj-netsuite-hide-subsidiar…
Browse files Browse the repository at this point in the history
…y-loading

[#Wave-Control: Add NetSuite] Hide `Subsidiary` on initial connection load
  • Loading branch information
yuwenmemon committed Jul 18, 2024
2 parents 58fc7e4 + 179b781 commit 2e2c2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/accounting/PolicyAccountingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {
</View>
),
},
...(isEmptyObject(integrationSpecificMenuItems) || shouldShowSynchronizationError ? [] : [integrationSpecificMenuItems]),
...(isEmptyObject(integrationSpecificMenuItems) || shouldShowSynchronizationError || isEmptyObject(policy?.connections) ? [] : [integrationSpecificMenuItems]),
...(isEmptyObject(policy?.connections) || shouldShowSynchronizationError
? []
: [
Expand Down

0 comments on commit 2e2c2bf

Please sign in to comment.