Explorar el Código

[web] fix pending downgrade bug (#31235)

GitOrigin-RevId: a83f21b87abc8758f94900d6af151ea10928047d
Kristina hace 6 meses
padre
commit
4bae5f406d

+ 1 - 0
services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.mjs

@@ -335,6 +335,7 @@ async function buildUsersSubscriptionViewModel(user, locale = 'en') {
             pendingAdditionalLicenses += addOn.quantity
             pendingAdditionalLicenses += addOn.quantity
           }
           }
         })
         })
+        pendingPlan.addOns = pendingAddOns
       }
       }
 
 
       const totalPrice = paymentRecord.subscription.planPrice + addOnPrice + tax
       const totalPrice = paymentRecord.subscription.planPrice + addOnPrice + tax