We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e91a08 + bd08047 commit b20513eCopy full SHA for b20513e
1 file changed
apps/payments/next/app/[locale]/subscriptions/manage/page.tsx
@@ -155,7 +155,7 @@ export default async function Manage({
155
156
{isStripeCustomer &&
157
!defaultPaymentMethod &&
158
- subscriptions.length > 0 && (
+ (subscriptions.length > 0 || trialSubscriptions.length > 0) && (
159
<Banner variant={BannerVariant.Warning}>
160
<div className="leading-6 text-base">
161
<p className="font-bold">
@@ -418,7 +418,7 @@ export default async function Manage({
418
)}
419
420
421
- (defaultPaymentMethod || subscriptions.length > 0) && (
+ (defaultPaymentMethod || subscriptions.length > 0 || trialSubscriptions.length > 0) && (
422
<>
423
<div
424
className="border-none h-px bg-grey-100 my-5 tablet:my-8"
0 commit comments