Skip to content

Commit

Permalink
Attempt to fix label generation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tankerkiller125 authored Jan 28, 2025
1 parent b22a49a commit a262ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/reports/label-generator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a262ff9

Please sign in to comment.