From 9b2db6eed7b6a95de99d2507c8a69275d3e4941d Mon Sep 17 00:00:00 2001 From: grey Date: Mon, 10 Jul 2023 16:05:08 +0200 Subject: [PATCH] possible fix for AFLOW-24 --- src/frontend/itemInfo.eta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

<%= it.name %>

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") { %>