mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 02:14:31 +02:00
Show badges with the number of child nodes in the admin page treeviews again.
This commit is contained in:
parent
365b85ac4c
commit
f21cd55b2e
4 changed files with 16 additions and 7 deletions
|
@ -40,7 +40,7 @@
|
|||
{% endmacro %}
|
||||
|
||||
{% macro treeview(entity) %}
|
||||
<div {{ stimulus_controller('elements/tree') }} data-tree-data="{{ generateTreeData(entity) }}">
|
||||
<div {{ stimulus_controller('elements/tree') }} data-tree-data="{{ generateTreeData(entity) }}" data-tree-show-tags="true">
|
||||
<div class="row" >
|
||||
<div class="col-8">
|
||||
<input type="search" class="form-control" placeholder="{% trans %}search.placeholder{% endtrans %}" {{ stimulus_action('elements/tree', 'searchInput') }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue