mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Render part image in the stock location list display
This commit is contained in:
parent
0058207fad
commit
88a1df75d2
@ -347,6 +347,7 @@ function loadStockTable(table, options) {
|
||||
search: true,
|
||||
method: 'get',
|
||||
pagination: true,
|
||||
pageSize: 25,
|
||||
rememberOrder: true,
|
||||
queryParams: options.params,
|
||||
columns: [
|
||||
@ -365,7 +366,7 @@ function loadStockTable(table, options) {
|
||||
title: 'Part',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index, field) {
|
||||
return renderLink(value, row.part.url);
|
||||
return imageHoverIcon(row.part.image_url) + renderLink(value, row.part.url);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user