Skip to content

Commit

Permalink
fix(docs): fix missing overloads in docs when overload count is less …
Browse files Browse the repository at this point in the history
…than 3 (#7367)
  • Loading branch information
tmair authored Oct 29, 2023
1 parent d623dd9 commit d787879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% extends 'export-base.template.html' -%}

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

0 comments on commit d787879

Please sign in to comment.