forked from MapComplete/MapComplete
More work on the theme generator
This commit is contained in:
parent
cd37d8db98
commit
0f433d026a
13 changed files with 340 additions and 87 deletions
|
@ -391,7 +391,7 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
|
|||
|
||||
InnerRender(): string {
|
||||
|
||||
if (this.IsQuestioning() && !State.state.osmConnection.userDetails.data.loggedIn) {
|
||||
if (this.IsQuestioning() && !State.state?.osmConnection?.userDetails?.data?.loggedIn) {
|
||||
const question =
|
||||
this.ApplyTemplate(this._question).Render();
|
||||
return "<div class='question'>" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue