refactor(rfid): changes to show all tags vs only 3 if there are more
This commit is contained in:
@@ -43,9 +43,9 @@ export const wrapperStuff = async (tagData: any) => {
|
|||||||
"rfid",
|
"rfid",
|
||||||
`There are ${tagData.length} tags and this ${
|
`There are ${tagData.length} tags and this ${
|
||||||
tagData[0].reader
|
tagData[0].reader
|
||||||
} only allows 1 tag to create a label: tag ${tagData[0].tag}, ${
|
} only allows 1 tag to create a label: tag ${tagData
|
||||||
tagData[1].tag
|
.map((o: any) => `${o.tag}`)
|
||||||
}, ${tagData.length === 3 && tagData[2].tag}`
|
.join(",\n ")}`
|
||||||
);
|
);
|
||||||
const tag = { ...tagData[0], runningNr: 0 };
|
const tag = { ...tagData[0], runningNr: 0 };
|
||||||
//tagStuff([tag]);
|
//tagStuff([tag]);
|
||||||
|
|||||||
Reference in New Issue
Block a user