fix: [domains explorer] None screeenshot

pull/594/head
Terrtia 2023-06-02 13:46:04 +02:00
parent 62880e3a1c
commit 1eae92c755
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ blocks.addEventListener('change', pixelate_all, false);
{% for dict_domain in dict_data['list_elem'] %}
{% if dict_domain['is_tags_safe'] %}
{% if 'screenshot' in dict_domain %}
{% if dict_domain['screenshot'] %}
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
{% else %}
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";

View File

@ -172,7 +172,7 @@ blocks.addEventListener('change', pixelate_all, false);
{% for dict_domain in l_dict_domains['list_elem'] %}
{% if dict_domain['is_tags_safe'] %}
{% if 'screenshot' in dict_domain %}
{% if dict_domain['screenshot'] %}
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
{% else %}
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";