removing last page from being stored
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-07-01 09:33:44 +02:00
parent bbf10fe866
commit 70dca17451
5 changed files with 29 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export function glassSymptomAnswerValue(raw, symptomKey) {
export function buildResultColumns(questions) {
const cols = [];
for (const q of questions || []) {
if (q.type === 'last_page') continue;
const cfg = parseQuestionConfig(q);
const symptoms = cfg.symptoms;
if (q.type === 'glass_scale_question' && Array.isArray(symptoms) && symptoms.length > 0) {