From b6125c9edf9eb4de06702d2a28f996174e2f7f6b Mon Sep 17 00:00:00 2001 From: Aneesh Karve Date: Wed, 28 Feb 2018 23:03:40 -0800 Subject: [PATCH] Only show credit card if user is logged as admin on teams instance (#443) --- catalog/app/containers/Profile/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/app/containers/Profile/index.js b/catalog/app/containers/Profile/index.js index 65b3a17a19b..ab27193dc81 100644 --- a/catalog/app/containers/Profile/index.js +++ b/catalog/app/containers/Profile/index.js @@ -273,7 +273,7 @@ const PlanArea = ({ { isWarning ? : null } { - haveCreditCard ? + haveCreditCard && (!config.team || (config.team && isAdmin)) ?