Skip to content

Commit

Permalink
Merge pull request #1872 from automatisch/hide-empty-sso-providers
Browse files Browse the repository at this point in the history
fix(SsoProviders): hide empty block
  • Loading branch information
barinali committed May 10, 2024
2 parents 0f8e056 + e9d2ae5 commit d257f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/SsoProviders/index.ee.jsx
Expand Up @@ -13,7 +13,7 @@ function SsoProviders() {
useSamlAuthProviders();
const providers = data?.data;

if (!isSamlAuthProvidersLoading && providers?.length === 0) return null;
if (!isSamlAuthProvidersLoading && !providers?.length) return null;

return (
<>
Expand Down

0 comments on commit d257f59

Please sign in to comment.