From b677bc14981faff30c91f6ffe4602319dd3c6016 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Sat, 6 Sep 2025 09:03:35 -0500 Subject: [PATCH] refactor(rfid): changes to show all tags vs only 3 if there are more --- server/services/rfid/controller/stations/wrappers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/services/rfid/controller/stations/wrappers.ts b/server/services/rfid/controller/stations/wrappers.ts index 01ac5a5..ec89a81 100644 --- a/server/services/rfid/controller/stations/wrappers.ts +++ b/server/services/rfid/controller/stations/wrappers.ts @@ -43,9 +43,9 @@ export const wrapperStuff = async (tagData: any) => { "rfid", `There are ${tagData.length} tags and this ${ tagData[0].reader - } only allows 1 tag to create a label: tag ${tagData[0].tag}, ${ - tagData[1].tag - }, ${tagData.length === 3 && tagData[2].tag}` + } only allows 1 tag to create a label: tag ${tagData + .map((o: any) => `${o.tag}`) + .join(",\n ")}` ); const tag = { ...tagData[0], runningNr: 0 }; //tagStuff([tag]);