fix empty attributes in properties table

pull/1536/head
Cory LaViska 2023-08-22 16:56:55 -04:00
rodzic 87837df35c
commit ef82cd8cfd
1 zmienionych plików z 11 dodań i 9 usunięć

Wyświetl plik

@ -137,15 +137,17 @@
<tr>
<td>
<code class="nowrap">{{ prop.name }}</code>
{% if prop.attribute != prop.name %}
<br>
<sl-tooltip content="This attribute is different from its property">
<small>
<code class="nowrap">
{{ prop.attribute }}
</code>
</small>
</sl-tooltip>
{% if prop.attribute | length > 0 %}
{% if prop.attribute != prop.name %}
<br>
<sl-tooltip content="This attribute is different from its property">
<small>
<code class="nowrap">
{{ prop.attribute }}
</code>
</small>
</sl-tooltip>
{% endif %}
{% endif %}
</td>
<td>