mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 22:39:14 +01:00
Attempt to fix label generation issue
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user