From 59778130cdc5c8f5bacb2720dd3b4de3099c0607 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 11 Apr 2020 23:09:21 +1000 Subject: [PATCH] Revert display of "INACTIVE" parts --- InvenTree/InvenTree/static/script/inventree/part.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/InvenTree/static/script/inventree/part.js b/InvenTree/InvenTree/static/script/inventree/part.js index a03dd6d89a..05b209b9b8 100644 --- a/InvenTree/InvenTree/static/script/inventree/part.js +++ b/InvenTree/InvenTree/static/script/inventree/part.js @@ -140,11 +140,11 @@ function loadPartTable(table, url, options={}) { var display = imageHoverIcon(row.thumbnail) + renderLink(name, '/part/' + row.pk + '/'); if (row.is_template) { - display = display + ``; + display += ``; } if (row.assembly) { - display = display + ``; + display += ``; } /* @@ -154,7 +154,7 @@ function loadPartTable(table, url, options={}) { */ if (!row.active) { - display = display + ``; + display += `INACTIVE`; } return display; }