From e897a43a8b88b9109024865a068a5ee4e57564fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Gr=C3=BCneberg?= Date: Tue, 18 Jul 2023 00:39:41 +0200 Subject: [PATCH] fix: usage fees on Enterprise plan --- .../interfaces/BillingV2/Subscription/BillingBreakdown.tsx | 2 +- .../BillingSettingsV2/BillingBreakdown/BillingMetric.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx b/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx index 5d4ee5b82a9..0e820f87202 100644 --- a/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx +++ b/studio/components/interfaces/BillingV2/Subscription/BillingBreakdown.tsx @@ -177,7 +177,7 @@ const BillingBreakdown = ({}: BillingBreakdownProps) => { - {isUsageBillingEnabled && usageFee && ( + {isUsageBillingEnabled && hasLimit && usageFee && (
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx index 63ec35debed..00dd069207f 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx @@ -67,7 +67,7 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetric - {isUsageBillingEnabled && usageFee && ( + {isUsageBillingEnabled && hasLimit && usageFee && (