mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Don't display a location tile if the location is null
This commit is contained in:
parent
47929c888b
commit
39c0470b2a
2 changed files with 2 additions and 1 deletions
|
|
@ -267,6 +267,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
loc = jsondata['location_detail']['name'] ?? '';
|
||||
}
|
||||
|
||||
// Old-style name
|
||||
if (loc.isEmpty) {
|
||||
loc = jsondata['location__name'] ?? '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue