Hide results pane if there's no results

This commit is contained in:
Mark Veidemanis 2022-08-03 07:20:30 +01:00
parent 990a88a340
commit be7fe348ff
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

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">