From e7262312bf14d93cdb2868fff2621d442d244671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Annika=20M=C3=BCcke?= Date: Thu, 16 Nov 2023 16:09:11 +0100 Subject: [PATCH] replace hardcoded prefix string --- src/routes/download/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/download/+page.svelte b/src/routes/download/+page.svelte index 64091f9..a1b4027 100644 --- a/src/routes/download/+page.svelte +++ b/src/routes/download/+page.svelte @@ -54,7 +54,7 @@ if (sample == $studyProps.numSamples && $studyProps.hasEveningSample) { sampleCaption = 'E'; } - caption += $studyProps.subjectList[subject - 1] + '_D' + day + '_S' + sampleCaption; + caption += $studyProps.subjectList[subject - 1] + '_D' + day + '_' + $studyProps.samplePrefix + sampleCaption; captions.push(caption); let data = subjectString + dayString + sampleString; barcodeData.push(data);