kopia lustrzana https://github.com/simonw/datasette
Fixed bug where 0 values were showing up blank
rodzic
0b702f3679
commit
ed21fb9508
|
@ -59,7 +59,7 @@
|
||||||
{% for row in rows %}
|
{% for row in rows %}
|
||||||
<tr>
|
<tr>
|
||||||
{% for td in row %}
|
{% for td in row %}
|
||||||
<td>{{ td or " "|safe }}</td>
|
<td>{% if td == None %}{{ " "|safe }}{% else %}{{ td }}{% endif %}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Ładowanie…
Reference in New Issue