Skip to content

Commit

Permalink
fix: show correct OIDC provider logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Feb 4, 2025
1 parent 1a973b7 commit 4f8415f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function DefaultButtonSocial({
const oidcNodeCount =
ui.nodes.filter((node) => node.group === "oidc").length ?? 0

const Logo = logos[attributes.value]
const Logo = logos[(attributes.value as string).split("-")[0]]

const showLabel =
_showLabel ?? (oidcNodeCount % 3 !== 0 && oidcNodeCount % 4 !== 0)
Expand Down

0 comments on commit 4f8415f

Please sign in to comment.