Skip to content

Commit

Permalink
fix: hide on initial load only
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Jul 17, 2024
1 parent 303c431 commit 179b781
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 || isSyncInProgress ? [] : [integrationSpecificMenuItems]),
...(isEmptyObject(integrationSpecificMenuItems) || shouldShowSynchronizationError || isEmptyObject(policy?.connections) ? [] : [integrationSpecificMenuItems]),
...(isEmptyObject(policy?.connections) || shouldShowSynchronizationError
? []
: [
Expand Down

0 comments on commit 179b781

Please sign in to comment.