Skip to content

Commit

Permalink
Fix admin > workspace page not loading (#9649)
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph authored Dec 30, 2024
1 parent 0b2c617 commit e9d4aca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/components/workspace/ProviderManagementModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ export function ProviderManagementModal({
<ContextItem.List>
{MODEL_PROVIDER_IDS.map((provider) => {
const LogoComponent = MODEL_PROVIDER_LOGOS[provider];
if (!modelProviders[provider]) {
return null;
}
return (
<ContextItem
key={provider}
Expand Down

0 comments on commit e9d4aca

Please sign in to comment.