diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ddf9845a..d3dbd7c67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog Fab-manager +- Fix a bug: the subscription page is not available + ## v4.4.0 2020 May 12 - Manager: a new role between the member and the administrator diff --git a/app/assets/javascripts/controllers/plans.js.erb b/app/assets/javascripts/controllers/plans.js.erb index c19adf5fd..7f4fa4386 100644 --- a/app/assets/javascripts/controllers/plans.js.erb +++ b/app/assets/javascripts/controllers/plans.js.erb @@ -183,7 +183,7 @@ Application.Controllers.controller('PlansIndexController', ['$scope', '$rootScop for (let plan of plansPromise) { if (plan.group_id === group.id) { groupObj.plans.push(plan); - if (!plan.disabled) { groupplansClassifiedByGroupObj.actives++; } + if (!plan.disabled) { groupObj.actives++; } } } $scope.plansClassifiedByGroup.push(groupObj); diff --git a/app/assets/templates/plans/index.html.erb b/app/assets/templates/plans/index.html.erb index c6ba67b36..f92f4500c 100644 --- a/app/assets/templates/plans/index.html.erb +++ b/app/assets/templates/plans/index.html.erb @@ -41,7 +41,7 @@ -
+
-
+