diff --git a/src/lib/stores/billing.ts b/src/lib/stores/billing.ts index c99e18f64..f1101dd8b 100644 --- a/src/lib/stores/billing.ts +++ b/src/lib/stores/billing.ts @@ -492,12 +492,12 @@ export async function checkForMissingPaymentMethod() { // Display upgrade banner for new users after 1 week for 30 days export async function checkForNewDevUpgradePro(org: Organization) { - // already dismissed by user! - if (localStorage.getItem('newDevUpgradePro')) return; - // browser or plan check. if (!browser || org?.billingPlan !== BillingPlan.FREE) return; + // already dismissed by user! + if (localStorage.getItem('newDevUpgradePro')) return; + // saves one trip to backend! const notValidKey = `${org.$id}:isNotValid`; if (localStorage.getItem(notValidKey)) return;