fix: spinner template missing finding_id when included from scan/package detail
This commit is contained in:
@@ -55,7 +55,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if f.report and f.report.status == "analyzing" %}
|
{% if f.report and f.report.status == "analyzing" %}
|
||||||
|
{% with finding_id=f.id %}
|
||||||
{% include "_llm_spinner.html" %}
|
{% include "_llm_spinner.html" %}
|
||||||
|
{% endwith %}
|
||||||
{% elif f.report and f.report.verdict %}
|
{% elif f.report and f.report.verdict %}
|
||||||
{% with report=f.report, finding_id=f.id %}
|
{% with report=f.report, finding_id=f.id %}
|
||||||
{% include "_llm_report_fragment.html" %}
|
{% include "_llm_report_fragment.html" %}
|
||||||
|
|||||||
@@ -51,7 +51,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if f.report and f.report.status == "analyzing" %}
|
{% if f.report and f.report.status == "analyzing" %}
|
||||||
|
{% with finding_id=f.id %}
|
||||||
{% include "_llm_spinner.html" %}
|
{% include "_llm_spinner.html" %}
|
||||||
|
{% endwith %}
|
||||||
{% elif f.report and f.report.verdict %}
|
{% elif f.report and f.report.verdict %}
|
||||||
{% with report=f.report, finding_id=f.id %}
|
{% with report=f.report, finding_id=f.id %}
|
||||||
{% include "_llm_report_fragment.html" %}
|
{% include "_llm_report_fragment.html" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user