From 6a948a1a2021dca92b7097b3e5f76bbe866da770 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 25 Nov 2021 15:14:16 +1100 Subject: [PATCH] javascript linting --- InvenTree/templates/js/translated/part.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index 855aa05385..1bf025b629 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -32,6 +32,7 @@ loadPartTable, loadPartTestTemplateTable, loadPartVariantTable, + loadRelatedPartsTable, loadSellPricingChart, loadSimplePartTable, loadStockPricingChart, @@ -739,7 +740,7 @@ function loadRelatedPartsTable(table, part_id, options={}) { var part = getPart(row); - var html = imageHoverIcon(part.thumbnail) + renderLink(part.full_name, `/part/${part.pk}/`) + var html = imageHoverIcon(part.thumbnail) + renderLink(part.full_name, `/part/${part.pk}/`); html += makePartIcons(part);