Răsfoiți Sursa

renames prices scope var into groupPlans

GitOrigin-RevId: ef53edd8f9b78eb13fb2d4bb488e30ee02858764
Tim Alby 4 ani în urmă
părinte
comite
e98084259a
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      services/web/frontend/js/main/subscription-dashboard.js

+ 2 - 2
services/web/frontend/js/main/subscription-dashboard.js

@@ -140,7 +140,7 @@ App.controller(
   function ($scope, $modal, $location, $http, RecurlyPricing) {
   function ($scope, $modal, $location, $http, RecurlyPricing) {
     $scope.options = GROUP_PLAN_MODAL_OPTIONS
     $scope.options = GROUP_PLAN_MODAL_OPTIONS
 
 
-    $scope.prices = getMeta('ol-groupPlans')
+    $scope.groupPlans = getMeta('ol-groupPlans')
 
 
     const currency = $scope.currentPlanCurrency
     const currency = $scope.currentPlanCurrency
 
 
@@ -161,7 +161,7 @@ App.controller(
       let pricePerUserPlaceholder = '...'
       let pricePerUserPlaceholder = '...'
       const currencySymbol = $scope.options.currencySymbols[currency]
       const currencySymbol = $scope.options.currencySymbols[currency]
       if (taxRate === 0) {
       if (taxRate === 0) {
-        const basePrice = $scope.prices[usage][plan_code][currency][size]
+        const basePrice = $scope.groupPlans[usage][plan_code][currency][size]
         pricePlaceholder.total = `${currencySymbol}${basePrice}`
         pricePlaceholder.total = `${currencySymbol}${basePrice}`
         pricePerUserPlaceholder = getPricePerUser(
         pricePerUserPlaceholder = getPricePerUser(
           basePrice,
           basePrice,