MapComplete now always zooms up to level 21 with overzoom, fix #606

This commit is contained in:
Pieter Vander Vennet 2022-01-08 20:02:07 +01:00
parent 7a43b55245
commit 965faca0e5
6 changed files with 18 additions and 13 deletions

View file

@ -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({