diff --git a/packages/web/src/components/UsageDataInformation/index.ee.jsx b/packages/web/src/components/UsageDataInformation/index.ee.jsx index 300c1482..d025d0a6 100644 --- a/packages/web/src/components/UsageDataInformation/index.ee.jsx +++ b/packages/web/src/components/UsageDataInformation/index.ee.jsx @@ -44,7 +44,7 @@ function BillingCard(props) { - {title} + {title || '---'} @@ -119,12 +119,12 @@ export default function UsageDataInformation() { text: 'Upgrade plan', }, nextBillAmount: { - title: '---', + title: null, action: null, text: null, }, nextBillDate: { - title: '---', + title: null, action: null, text: null, }, @@ -137,7 +137,9 @@ export default function UsageDataInformation() { text: formatMessage('usageDataInformation.cancelPlan'), }, nextBillAmount: { - title: `€${subscription?.nextBillAmount}`, + title: subscription?.nextBillAmount + ? `€${subscription?.nextBillAmount}` + : null, action: subscription?.updateUrl, text: formatMessage('usageDataInformation.updatePaymentMethod'), },