Display thumbnail in Part 'used_in' detail view

This commit is contained in:
Oliver Walters 2019-05-08 20:26:39 +10:00
parent 58e5b10d26
commit 1f9aa7a8fc

View File

@ -43,7 +43,7 @@
field: 'part_detail', field: 'part_detail',
title: 'Part', title: 'Part',
formatter: function(value, row, index, field) { formatter: function(value, row, index, field) {
return renderLink(value.name, value.url + 'bom/'); return imageHoverIcon(row.part_detail.image_url) + renderLink(value.name, value.url + 'bom/');
} }
}, },
{ {