Chore: fix test, translation sync

This commit is contained in:
Pieter Vander Vennet 2025-06-06 20:14:57 +02:00
parent afc93d8973
commit 5fa524cc92
7 changed files with 65 additions and 90 deletions

View file

@ -174,6 +174,7 @@ export class AddQuestionBox extends DesugaringStep<LayerConfigJson> {
}
/**
* // If a general questionbox is added, should not add a new
* const action = new AddQuestionBox()
* const tagRenderings = [{id:"questions", render: {"*": "{questions()}" } }]
* const conv = action.convert({tagRenderings}, ConversionContext.construct(["test"], []))
@ -255,7 +256,7 @@ export class AddQuestionBox extends DesugaringStep<LayerConfigJson> {
questionBoxes.push({ blacklist, whitelist })
}
if (noLabels.length == 0) {
if (noLabels.length == 1) {
// We already have a questionbox handling _all_ questions
return json
}