Skip to content

Commit

Permalink
FIX error with versions with TeamApiGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega committed Jan 30, 2025
1 parent 652ef82 commit 99839ff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,8 @@ export const TeamApiGroup = () => {
})}
openApiSelectModal={() => alert({ message: 'oops' })}
setHeader={(planName) => setAdditionalHeader(planName)} />

</div>)}
{tab === 'settings' && <TeamApiSettings api={_apiGroup} currentTeam={currentTeam} />}
{tab === 'settings' && <TeamApiSettings api={_apiGroup} currentTeam={currentTeam} versions={[]} />}
{tab === 'stats' && !match && <TeamApiConsumption api={_apiGroup} apiGroup currentTeam={currentTeam} />}
{tab === 'stats' && match && match.params.planId && (<TeamPlanConsumption api={_apiGroup} currentTeam={currentTeam} />)}
{tab === 'subscriptions' && <TeamApiSubscriptions api={_apiGroup} currentTeam={currentTeam} />} {/* FIXME: a props APIGROUP has been removed...maybe add it in team api sub component */}
Expand Down

0 comments on commit 99839ff

Please sign in to comment.