summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index a1a8f41e5..95829eb19 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -481,7 +481,7 @@
{% dynamic_table_document finds_docs 'documents' 'finds' item.pk '' output %}
</div>
{% endif %}
- {% if item.data and item.data != {} %}
+ {% if item.data and item.data|length > 0 %}
<div class="tab-pane fade" id="{{window_id}}-json"
role="tabpanel" aria-labelledby="{{window_id}}-json-tab">
{% include "ishtar/blocks/sheet_json.html" %}