From bd9d2b7e008db38dd89597feea9c875298bc7fbd Mon Sep 17 00:00:00 2001 From: Hugo Costa Date: Tue, 31 Oct 2023 15:45:16 -0300 Subject: [PATCH] regression: CE cards and small fixes (#30817) --- .../admin/subscription/SubscriptionPage.tsx | 26 +++++++++++-------- .../subscription/components/PieGraphCard.tsx | 2 +- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx b/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx index 71a9faeee5d2..42e8cff54ad5 100644 --- a/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx +++ b/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx @@ -124,18 +124,22 @@ const SubscriptionPage = () => { )} - {limits?.marketplaceApps !== undefined && ( - - - - )} + {!license && ( + <> + {limits?.marketplaceApps !== undefined && ( + + + + )} - - - - - - + + + + + + + + )} diff --git a/apps/meteor/client/views/admin/subscription/components/PieGraphCard.tsx b/apps/meteor/client/views/admin/subscription/components/PieGraphCard.tsx index f18bf9da69a7..c74d5f2476d7 100644 --- a/apps/meteor/client/views/admin/subscription/components/PieGraphCard.tsx +++ b/apps/meteor/client/views/admin/subscription/components/PieGraphCard.tsx @@ -21,7 +21,7 @@ const PieGraphCard = ({ pieGraph, card }: PieGraphCardProps): ReactElement => { return ( - ) + ); };