mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [investigation] fix create investigation
This commit is contained in:
parent
7ed7b4c63e
commit
79fa5dc30b
2 changed files with 37 additions and 33 deletions
|
@ -973,8 +973,8 @@ def is_enabled_tag(tag, enabled_namespace=None):
|
||||||
return is_enabled_galaxy_tag(tag, enabled_galaxies=enabled_namespace)
|
return is_enabled_galaxy_tag(tag, enabled_galaxies=enabled_namespace)
|
||||||
|
|
||||||
def are_enabled_tags(tags):
|
def are_enabled_tags(tags):
|
||||||
enabled_taxonomies = get_active_taxonomies(r_set=True)
|
enabled_taxonomies = get_active_taxonomies()
|
||||||
enabled_galaxies = get_active_galaxies(r_set=True)
|
enabled_galaxies = get_active_galaxies()
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
if is_taxonomie_tag(tag):
|
if is_taxonomie_tag(tag):
|
||||||
res = is_enabled_taxonomie_tag(tag, enabled_taxonomies=enabled_taxonomies)
|
res = is_enabled_taxonomie_tag(tag, enabled_taxonomies=enabled_taxonomies)
|
||||||
|
|
|
@ -66,6 +66,10 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue