Skip to content

Commit

Permalink
Fix missing auth provider icon for google
Browse files Browse the repository at this point in the history
Also fixed for other icons for SSO
  • Loading branch information
NilsBaumgartner1994 committed Aug 17, 2023
1 parent 401e745 commit e5c99ba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ export const AuthProvider: FunctionComponent<AppState> = ({serverInfo, provider,
return icon(color);
}

let family = MaterialIcons;
let family = null;

if(icon==="incognito-circle"){
family = null;
if (MaterialIcons.glyphMap.hasOwnProperty(icon)) {
family = MaterialIcons;
}

return (
Expand Down

0 comments on commit e5c99ba

Please sign in to comment.