mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 12:45:26 +00:00
Don't display a location tile if the location is null
This commit is contained in:
@ -267,6 +267,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
||||
loc = jsondata['location_detail']['name'] ?? '';
|
||||
}
|
||||
|
||||
// Old-style name
|
||||
if (loc.isEmpty) {
|
||||
loc = jsondata['location__name'] ?? '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user