File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 96
96
</div>
97
97
</div>
98
98
{{end}}
99
+ <!-- Hiding scopes
99
100
{{if len .product.Scopes }}
100
101
<div class="api-product-page__info">
101
102
<div class="api-product-page__info-title">
110
111
</div>
111
112
</div>
112
113
{{end}}
114
+ -->
113
115
{{ $upstreamURL := ProviderUpstreamURL req $thisProduct.ProviderID }}
114
116
{{if $upstreamURL }}
115
117
<div class="api-product-page__info">
156
158
{{end}}
157
159
<!-- Not displaying plans when there are none available for subscription -->
158
160
{{ $plansLength := len .unique_plans }}
159
- {{ if gt $plansLength 0 }}
161
+ {{ if ge $plansLength 1 }}
160
162
<!-- Not displaying plans for Products with Basic Auth -->
161
163
{{if and (ne $.product.AuthType "ba") (ne $.product.AuthType "custom")}}
162
164
<div class="api-product-page__info">
You can’t perform that action at this time.
0 commit comments