Selaa lähdekoodia

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 11 kuukautta sitten
vanhempi
commit
171b508dee
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      components/app.vue

+ 2
- 1
components/app.vue Näytä tiedosto

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


||||||
x
 
000:0
Loading…
Peruuta
Tallenna