tango-app-ui-manage-billing 3.3.21 → 3.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9410,6 +9410,14 @@ class PlansSubscriptionComponent {
|
|
|
9410
9410
|
this.priceNoData = false;
|
|
9411
9411
|
this.priceValueDetails = res.data;
|
|
9412
9412
|
this.originalPriceValue = JSON.parse(JSON.stringify(this.priceValueDetails));
|
|
9413
|
+
// Group-wise: adopt the group's own price type so the correct
|
|
9414
|
+
// standard/step table renders (each group can differ).
|
|
9415
|
+
if (isGroup && res.data.priceType && res.data.priceType !== this.priceType) {
|
|
9416
|
+
this.priceType = res.data.priceType;
|
|
9417
|
+
if (this.clientinfo?.currentPlanInfo) {
|
|
9418
|
+
this.clientinfo.currentPlanInfo.priceType = res.data.priceType;
|
|
9419
|
+
}
|
|
9420
|
+
}
|
|
9413
9421
|
this.changeDetector.detectChanges();
|
|
9414
9422
|
}
|
|
9415
9423
|
else if (isGroup) {
|