From e98084259ae244033468bad7b2c2af49df2e9f31 Mon Sep 17 00:00:00 2001 From: Tim Alby Date: Wed, 12 Jan 2022 10:48:02 +0100 Subject: [PATCH] renames prices scope var into groupPlans GitOrigin-RevId: ef53edd8f9b78eb13fb2d4bb488e30ee02858764 --- services/web/frontend/js/main/subscription-dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/js/main/subscription-dashboard.js b/services/web/frontend/js/main/subscription-dashboard.js index 0741ce37fb..4152a9e92c 100644 --- a/services/web/frontend/js/main/subscription-dashboard.js +++ b/services/web/frontend/js/main/subscription-dashboard.js @@ -140,7 +140,7 @@ App.controller( function ($scope, $modal, $location, $http, RecurlyPricing) { $scope.options = GROUP_PLAN_MODAL_OPTIONS - $scope.prices = getMeta('ol-groupPlans') + $scope.groupPlans = getMeta('ol-groupPlans') const currency = $scope.currentPlanCurrency @@ -161,7 +161,7 @@ App.controller( let pricePerUserPlaceholder = '...' const currencySymbol = $scope.options.currencySymbols[currency] 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}` pricePerUserPlaceholder = getPricePerUser( basePrice,