fix: [show domain] fix correlation button if nb correl == 0

pull/607/merge
terrtia 2024-10-08 14:37:46 +02:00
parent ba6c9c9601
commit 12c5483467
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 0 additions and 2 deletions

View File

@ -129,7 +129,6 @@
<div class="d-flex flex-row-reverse bd-highlight mt-2">
{% if 'correlation_nb' in dict_domain %}
{% if dict_domain["correlation_nb"] > 0 %}
<hr>
<div>
<a href="{{ url_for('correlation.show_correlation')}}?type=domain&id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px">
@ -139,7 +138,6 @@
</a>
</div>
{%endif%}
{%endif%}
{% with obj_type='domain', obj_id=dict_domain['domain'], obj_subtype=''%}
{% include 'modals/investigations_register_obj.html' %}
{% endwith %}