forked from MapComplete/MapComplete
Fix morescreen (which shows the custom themes now), remove invalid themes automatically
This commit is contained in:
parent
f771695c0b
commit
1e0a1fdf97
5 changed files with 31 additions and 11 deletions
|
@ -282,12 +282,7 @@ export class InitUiElements {
|
|||
|
||||
tabs.push({
|
||||
header: `<img src='./assets/add.svg'>`,
|
||||
content: new VariableUiElement(State.state.osmConnection.userDetails.map(userdetails => {
|
||||
if(userdetails.csCount < State.userJourney.moreScreenUnlock){
|
||||
return "";
|
||||
}
|
||||
return new MoreScreen().Render()
|
||||
}, [Locale.language]))
|
||||
content: new MoreScreen()
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue