Show badges with the number of child nodes in the admin page treeviews again.

This commit is contained in:
Jan Böhmer 2022-08-13 01:05:32 +02:00
parent 365b85ac4c
commit f21cd55b2e
4 changed files with 16 additions and 7 deletions

View file

@ -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') }}>