forked from MapComplete/MapComplete
Hide themes
This commit is contained in:
parent
bad2248658
commit
2f9f1aefd1
3 changed files with 6 additions and 2 deletions
|
@ -150,6 +150,10 @@ export default class LayoutConfig {
|
|||
}
|
||||
|
||||
this.hideFromOverview = json.hideFromOverview ?? false;
|
||||
// @ts-ignore
|
||||
if(json.hideInOverview){
|
||||
throw "The json for "+this.id+" contains a 'hideInOverview'. Did you mean hideFromOverview instead?"
|
||||
}
|
||||
this.lockLocation = json.lockLocation ?? false;
|
||||
this.enableUserBadge = json.enableUserBadge ?? true;
|
||||
this.enableShareScreen = json.enableShareScreen ?? true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue