better handling of updating units and quantities
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
{{ item.label }}
|
||||
</div>
|
||||
<div>
|
||||
{% if item.quantity > 1 %}
|
||||
{% if item.quantity > 1 or item.unit != 'x' %}
|
||||
{{ item.quantity }}{{ item.unit }}
|
||||
{% endif %}
|
||||
<img src="/static/categories/{{ item.category }}.svg" style="height: 2em;" alt="...">
|
||||
|
||||
Reference in New Issue
Block a user