Hide results pane if there's no results

This commit is contained in:
2022-08-03 07:20:30 +01:00
parent 990a88a340
commit be7fe348ff

View File

@@ -1,7 +1,7 @@
{% load static %} {% load static %}
{% load index %} {% load index %}
{% include 'partials/notify.html' %} {% include 'partials/notify.html' %}
{% if results is not None %} {% if results %}
<div style="display: none" id="jsonData" data-json="{{ data }}"> <div style="display: none" id="jsonData" data-json="{{ data }}">
</div> </div>
<div class="box"> <div class="box">