Merge pull request #1872 from automatisch/hide-empty-sso-providers
fix(SsoProviders): hide empty block
This commit is contained in:
@@ -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 (
|
||||
<>
|
||||
|
Reference in New Issue
Block a user