Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: so add a provider is not displayed in empty state #3985

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/web/src/pages/integrations/IntegrationsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ export const IntegrationsList = ({
return (
<PageContainer title="Integrations">
<PageHeader title="Integrations Store" />
<Container fluid sx={{ padding: '0 30px 8px 30px' }}>
<IntegrationsListToolbar onAddProviderClick={onAddProviderClick} areIntegrationsLoading={isLoading} />
</Container>
<When truthy={!hasIntegrations}>
<Container fluid sx={{ padding: '0 30px 8px 30px' }}>
<IntegrationsListToolbar onAddProviderClick={onAddProviderClick} areIntegrationsLoading={isLoading} />
</Container>
</When>
<When truthy={hasIntegrations || isLoading}>
<Table
onRowClick={onRowClickCallback}
Expand Down
Loading