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; }