Parcourir la source

Had billing prompt users with subscribed status

Hiding based on user status and not only billing details allows easier
testing with fake users.
master
Immanuel Onyeka il y a 7 mois
Parent
révision
171b508dee
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      components/app.vue

+ 2
- 1
components/app.vue Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer