mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 10:15:32 +00:00
Display part image in stock list
This commit is contained in:
@ -300,6 +300,10 @@ class InvenTreeAPI {
|
||||
*/
|
||||
AdvancedNetworkImage getImage(String imageUrl) {
|
||||
|
||||
if (imageUrl.isEmpty) {
|
||||
imageUrl = staticImage;
|
||||
}
|
||||
|
||||
return new AdvancedNetworkImage(makeUrl(imageUrl),
|
||||
header: defaultHeaders(),
|
||||
useDiskCache: true,
|
||||
|
Reference in New Issue
Block a user