Correction bug
This commit is contained in:
parent
0828cb8cb9
commit
15020bc440
|
@ -9,9 +9,12 @@
|
||||||
WHERE json_extract(cat.document, '$.type') = 'category'
|
WHERE json_extract(cat.document, '$.type') = 'category'
|
||||||
}}
|
}}
|
||||||
{{:assign var="categories." value=$key}}
|
{{: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}}
|
{{/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}}
|
{{:admin_footer}}
|
||||||
|
|
Loading…
Reference in New Issue