forked from MapComplete/MapComplete
Themes: fix conversion for legacy themes
This commit is contained in:
parent
4634ca27ae
commit
21c35fc2c5
2 changed files with 11 additions and 10 deletions
|
@ -27,11 +27,6 @@ export default class WithContextLoader {
|
|||
`${translationContext ?? this._context}.${key}.default value`
|
||||
)
|
||||
}
|
||||
if (Object.keys(v).length === 1 && typeof v["render"] === "string") {
|
||||
throw `At ${
|
||||
translationContext ?? "<unknown>"
|
||||
}: use the content directly instead of {${key}: ${JSON.stringify(v)}}`
|
||||
}
|
||||
|
||||
return new TagRenderingConfig(
|
||||
<QuestionableTagRenderingConfigJson>v,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue