fix(extras): Conditionally render saved filter dropdown
Only display the saved filter dropdown in table controls when a filter form is present and includes a filter_id field. This prevents rendering an empty or non-functional dropdown when saved filters are unavailable.
This commit is contained in:
parent
8c898e7713
commit
1a12f687ee
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if filter_form %}
|
||||
{% if filter_form and filter_form.filter_id %}
|
||||
<div class="col-auto d-print-none">
|
||||
<div class="input-group">
|
||||
<label for="saved-filter-select" class="input-group-text">
|
||||
|
|
|
|||
Loading…
Reference in New Issue