Minor fixes

This commit is contained in:
David Bomba 2023-04-29 17:01:15 +10:00
parent 2624c97935
commit c8eaaee91e

View File

@ -400,7 +400,6 @@ class BillingPortalPurchase extends Component
$context = 'purchase'; $context = 'purchase';
// if(Ninja::isHosted() && $this->subscription->service()->recurring_products()->first()?->id == SubscriptionService::WHITE_LABEL) {
if (Ninja::isHosted() && $this->subscription->service()->recurring_products()->first()?->product_key == 'whitelabel') { if (Ninja::isHosted() && $this->subscription->service()->recurring_products()->first()?->product_key == 'whitelabel') {
$context = 'whitelabel'; $context = 'whitelabel';
} }