forked from MapComplete/MapComplete
Better handling of metatags, more robust error handling when calculating tags
This commit is contained in:
parent
69363fbf0f
commit
6ac8a5373c
10 changed files with 134 additions and 89 deletions
|
@ -3,7 +3,6 @@ import {UIEventSource} from "../../Logic/UIEventSource";
|
|||
import TagRenderingConfig from "../../Customizations/JSON/TagRenderingConfig";
|
||||
import TagRenderingQuestion from "./TagRenderingQuestion";
|
||||
import Translations from "../i18n/Translations";
|
||||
import {TagUtils} from "../../Logic/TagUtils";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -44,6 +43,7 @@ export default class QuestionBox extends UIElement {
|
|||
.onClick(() => {
|
||||
self._skippedQuestions.setData([]);
|
||||
})
|
||||
this.SetClass("block")
|
||||
}
|
||||
|
||||
InnerRender(): string {
|
||||
|
@ -57,7 +57,6 @@ export default class QuestionBox extends UIElement {
|
|||
if (this._skippedQuestions.data.indexOf(i) >= 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// this value is NOT known
|
||||
return this._tagRenderingQuestions[i].Render();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue