mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
fix: hide trial banner when subscription expired banner is active
This commit is contained in:
@@ -409,8 +409,14 @@ export default function SubscriptionPurchase() {
|
||||
padding: '24px 28px',
|
||||
}}
|
||||
>
|
||||
{/* Trial upgrade prompt */}
|
||||
{subscription?.is_trial && (
|
||||
{/* Trial upgrade prompt — hidden when expired banner is active */}
|
||||
{subscription?.is_trial &&
|
||||
!(
|
||||
isTariffsMode &&
|
||||
purchaseOptions &&
|
||||
'subscription_is_expired' in purchaseOptions &&
|
||||
purchaseOptions.subscription_is_expired
|
||||
) && (
|
||||
<div
|
||||
className="mb-6 rounded-[14px] p-4"
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user