Fix filter preview?
All checks were successful
Test and build Docker image / docker (push) Successful in 29s

This commit is contained in:
Joakim Hellsén 2026-04-27 18:57:24 +02:00
commit 984ce298cd
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
3 changed files with 455 additions and 9 deletions

View file

@ -79,7 +79,11 @@
<div class="filter-preview__rendered">{{ preview_html|safe }}</div>
{% else %}
<div class="p-3 border border-dark rounded-0">
<p class="text-muted mb-0">Rendered preview will appear here when entries are available.</p>
{% if preview_entries %}
<p class="text-muted mb-0">No entries would be sent with the current rules.</p>
{% else %}
<p class="text-muted mb-0">Rendered preview will appear here when entries are available.</p>
{% endif %}
</div>
{% endif %}
</section>