Skip to content

Commit

Permalink
replace hardcoded prefix string
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mosquito committed Nov 16, 2023
1 parent be2e5d1 commit e726231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/download/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e726231

Please sign in to comment.