fix: spinner template missing finding_id when included from scan/package detail

This commit is contained in:
Marker689
2026-05-11 21:53:45 +03:00
parent f4b8b74297
commit 6e3c2c5caa
2 changed files with 4 additions and 0 deletions

View File

@@ -55,7 +55,9 @@
{% endif %}
{% if f.report and f.report.status == "analyzing" %}
{% with finding_id=f.id %}
{% include "_llm_spinner.html" %}
{% endwith %}
{% elif f.report and f.report.verdict %}
{% with report=f.report, finding_id=f.id %}
{% include "_llm_report_fragment.html" %}