fix: [investigation] fix create investigation

pull/594/head
Terrtia 2023-04-20 16:17:54 +02:00
parent 7ed7b4c63e
commit 79fa5dc30b
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
2 changed files with 37 additions and 33 deletions

View File

@ -973,8 +973,8 @@ def is_enabled_tag(tag, enabled_namespace=None):
return is_enabled_galaxy_tag(tag, enabled_galaxies=enabled_namespace)
def are_enabled_tags(tags):
enabled_taxonomies = get_active_taxonomies(r_set=True)
enabled_galaxies = get_active_galaxies(r_set=True)
enabled_taxonomies = get_active_taxonomies()
enabled_galaxies = get_active_galaxies()
for tag in tags:
if is_taxonomie_tag(tag):
res = is_enabled_taxonomie_tag(tag, enabled_taxonomies=enabled_taxonomies)

View File

@ -66,6 +66,10 @@
</tbody>
</table>
<a class="btn btn-primary mt-2" href="{{ url_for('investigations_b.add_investigation') }}">
<i class="fas fa-plus"></i> Create Investigation
</a>
</div>
</div>