mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: fix trial expired notice shows to new users
This commit is contained in:
@@ -199,7 +199,7 @@ export async function showUpgradeReminderDialogs() {
|
||||
if (isTesting()) return;
|
||||
|
||||
const user = userstore.get().user;
|
||||
if (!user) return;
|
||||
if (!user || !user.subscription || user.subscription?.expiry === 0) return;
|
||||
|
||||
const consumed = totalSubscriptionConsumed(user);
|
||||
const isTrial = user?.subscription?.type === SUBSCRIPTION_STATUS.TRIAL;
|
||||
|
||||
Reference in New Issue
Block a user