Skip to content

Commit dc67fff

Browse files
committed
Fix fields check
1 parent 041ebe2 commit dc67fff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ <h3>API Documentation</h3>
126126

127127
<h4>Properties:</h4>
128128
<ul class="properties inner-block">
129-
{%if not fields.length%}
129+
{%if not fields%}
130+
<li>No properties available.</li>
131+
{%elsif not fields.length%}
130132
<li>No properties available.</li>
131133
{%else%}
132134
<li>

0 commit comments

Comments
 (0)