Ensure identity provider link is displayed when display name is empty (#4112)

This commit is contained in:
i7a7467 2023-01-02 19:54:26 +09:00 committed by GitHub
parent a6e9fa4e61
commit fd69d65e01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ export default function IdentityProvidersSection() {
tab: "settings", tab: "settings",
})} })}
> >
{identityProvider.displayName ?? identityProvider.alias} {identityProvider.displayName || identityProvider.alias}
{!identityProvider.enabled && ( {!identityProvider.enabled && (
<Badge <Badge
key={`${identityProvider.providerId}-disabled`} key={`${identityProvider.providerId}-disabled`}