mirror of
https://git.roflcopter.fr/lesanges/equipment.git
synced 2025-05-24 15:51:41 +02:00
Correction bug
This commit is contained in:
parent
0828cb8cb9
commit
15020bc440
1 changed files with 6 additions and 3 deletions
|
@ -9,9 +9,12 @@
|
|||
WHERE json_extract(cat.document, '$.type') = 'category'
|
||||
}}
|
||||
{{:assign var="categories." value=$key}}
|
||||
{{:include file="./inventaire.html" print_cat_name=true}}
|
||||
{{else}}
|
||||
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
||||
{{/select}}
|
||||
|
||||
{{if $categories|count == 0}}
|
||||
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
||||
{{else}}
|
||||
{{:include file="./inventaire.html" print_cat_name=true}}
|
||||
{{/if}}
|
||||
|
||||
{{:admin_footer}}
|
||||
|
|
Loading…
Add table
Reference in a new issue