forked from MapComplete/MapComplete
Fix text-area type, support for newlines in key substitutions (fix #543), small tweaks to etymology-theme (fix #537)
This commit is contained in:
parent
7839712deb
commit
fdb769a0fc
6 changed files with 19 additions and 10 deletions
|
@ -48,6 +48,9 @@ export default class TagRenderingConfig {
|
|||
this.render = null;
|
||||
this.question = null;
|
||||
this.condition = null;
|
||||
this.id = "questions"
|
||||
this.group = ""
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -66,12 +66,6 @@ export default class WithContextLoader {
|
|||
if (renderingJson["builtin"] !== undefined) {
|
||||
const renderingId = renderingJson["builtin"]
|
||||
if (renderingId === "questions") {
|
||||
if (readOnly) {
|
||||
throw `A tagrendering has a question, but asking a question does not make sense here: is it a title icon or a geojson-layer? ${context}. The offending tagrendering is ${JSON.stringify(
|
||||
renderingJson
|
||||
)}`;
|
||||
}
|
||||
|
||||
const tr = new TagRenderingConfig("questions", context);
|
||||
renderings.push(tr)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue