Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ export const populateObjectsInTemplate = async (data: TemplateData, ignoreMissin
await obj.SetData(0, value, null);
break;
case ObjectTypes.Barcode:
const barcodeIndex = await Doc.GetBarcodeIndex(key);
await Doc.SetBarcodeData(barcodeIndex, value);
obj.Text = value;
break;
case ObjectTypes.ClipArt:
await obj.SetData(0, value, 0);
Expand Down