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> <tr>
<td> <td>
<code class="nowrap">{{ prop.name }}</code> <code class="nowrap">{{ prop.name }}</code>
{% if prop.attribute != prop.name %} {% if prop.attribute | length > 0 %}
<br> {% if prop.attribute != prop.name %}
<sl-tooltip content="This attribute is different from its property"> <br>
<small> <sl-tooltip content="This attribute is different from its property">
<code class="nowrap"> <small>
{{ prop.attribute }} <code class="nowrap">
</code> {{ prop.attribute }}
</small> </code>
</sl-tooltip> </small>
</sl-tooltip>
{% endif %}
{% endif %} {% endif %}
</td> </td>
<td> <td>