Commit 6a016824 authored by Shreyas Agarwal's avatar Shreyas Agarwal

Skip display of plans if its hidden

Changelog: added
EE: true
parent 0052257c
......@@ -12,8 +12,10 @@
.billing-plans
- plans.each do |plan|
- next if plan.hide_card
- is_default_plan = current_plan.nil? && plan.default?
- is_current = plan.code == current_plan&.code || is_default_plan
= render 'shared/billings/billing_plan', namespace: namespace, plan: plan, is_current: is_current,
plan_offer_type: upgrade_offer_type(namespace, plan)
......
---
title: Hide display of certain plans on billings page
merge_request: 60137
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment