mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add null check
This commit is contained in:
parent
2fd7409804
commit
b741e0100b
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
);
|
||||
|
||||
// Add or remove custom barcode
|
||||
if (item.uid.isEmpty) {
|
||||
if (item != null && item.uid.isEmpty) {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().barcodeAssign),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue