diff --git a/src/frontend/itemInfo.eta.html b/src/frontend/itemInfo.eta.html index a600ecc..1458995 100644 --- a/src/frontend/itemInfo.eta.html +++ b/src/frontend/itemInfo.eta.html @@ -4,7 +4,7 @@
Comment: <%= it.comment %>
-Category: <%= it.category.name %>
+Category: <% if (locations.category == null) { %> No category assigned <% } else { %> <%= locations.category.name %> <% } %>
Amount: <%= it.amount %>
SKU: <%= it.SKU %>
Status: <% if(it.status == "normal") { %>