forked from MapComplete/MapComplete
MapComplete now always zooms up to level 21 with overzoom, fix #606
This commit is contained in:
parent
7a43b55245
commit
965faca0e5
6 changed files with 18 additions and 13 deletions
|
@ -93,7 +93,7 @@ export default class UserRelatedState extends ElementsState {
|
|||
return
|
||||
}
|
||||
|
||||
if(this.layoutToUse.id.startsWith("http")){
|
||||
if(this.layoutToUse?.id?.startsWith("http")){
|
||||
if(!this.installedThemes.data.some(installed => installed.id === this.layoutToUse.id)){
|
||||
|
||||
this.installedThemes.data.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue