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

This commit is contained in:
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

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">
@ -138,7 +137,6 @@
</button>
</a>
</div>
{%endif%}
{%endif%}
{% with obj_type='domain', obj_id=dict_domain['domain'], obj_subtype=''%}
{% include 'modals/investigations_register_obj.html' %}