From 171b508deea3f1f6e9bfd3971f247023d3587845 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Wed, 29 May 2024 10:25:59 -0400 Subject: [PATCH] Had billing prompt users with subscribed status Hiding based on user status and not only billing details allows easier testing with fake users. --- components/app.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/app.vue b/components/app.vue index ce34338..5381ad6 100644 --- a/components/app.vue +++ b/components/app.vue @@ -239,7 +239,8 @@ function start() { fetchUser().then( u => { if (u.sub.customerId && validStatuses.includes(u.sub.paymentStatus) && - this.user.status != "Unsubscribed") { + this.user.status != "Unsubscribed" || + this.user.status != "Subscribed") { return } // Payment must be updated