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