Attempt to fix label generation issue

This commit is contained in:
Matt Kilgore
2025-01-28 14:45:20 -05:00
committed by GitHub
parent b22a49a0fd
commit a262ff9628

View File

@@ -197,7 +197,7 @@
function getItem(n: number, item: { assetId: string; name: string; location: { name: string } } | null): LabelData {
// format n into - seperated string with leading zeros
const assetID = fmtAssetID(n + 1);
const assetID = fmtAssetID(item?,assetId ?? n + 1);
return {
url: getQRCodeUrl(assetID),