forked from MapComplete/MapComplete
Chore: fix test, translation sync
This commit is contained in:
parent
afc93d8973
commit
5fa524cc92
7 changed files with 65 additions and 90 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue