Skip to content

Commit

Permalink
Only show credit card if user is logged as admin on teams instance (#443
Browse files Browse the repository at this point in the history
)
  • Loading branch information
akarve authored Mar 1, 2018
1 parent 3875833 commit b6125c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/app/containers/Profile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const PlanArea = ({
<ToolbarTitle text={planMessage} />
{ isWarning ? <WarningIcon /> : null }
{
haveCreditCard ?
haveCreditCard && (!config.team || (config.team && isAdmin)) ?
<StripeCheckout
allowRememberMe
amount={0}
Expand Down

0 comments on commit b6125c9

Please sign in to comment.