forked from MapComplete/MapComplete
Fix various small typos
This commit is contained in:
parent
6a254e10e5
commit
137e25037c
5 changed files with 24 additions and 1 deletions
|
@ -93,6 +93,10 @@ export default class TagRenderingConfig {
|
|||
if (this.question && this.freeform?.key === undefined && this.mappings === undefined) {
|
||||
throw `A question is defined, but no mappings nor freeform (key) are. The question is ${this.question.txt} at ${context}`
|
||||
}
|
||||
|
||||
if(this.freeform && this.render === undefined){
|
||||
throw `Detected a freeform key without rendering... Key: ${this.freeform.key} in ${context}`
|
||||
}
|
||||
|
||||
if (json.multiAnswer) {
|
||||
if ((this.mappings?.length ?? 0) === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue