Skip to content

Commit d69d890

Browse files
authored
docs: fix missing overloads in docs when overload count is less than 3 (#7367) (#7369)
1 parent 27855c6 commit d69d890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs_app/tools/transforms/templates/api/function.template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% extends 'export-base.template.html' -%}
44

55
{% block overview %}
6-
{% if doc.overloads.length > 0 and doc.overloads < 3 -%}
6+
{% if doc.overloads.length > 0 and doc.overloads.length < 3 -%}
77
{% for overload in doc.overloads -%}
88
{$ memberHelpers.renderOverloadInfo(overload, 'function-overload', doc) $}
99
{% if not loop.last %}<hr class="hr-margin fullwidth">{% endif %}

0 commit comments

Comments
 (0)