forked from MapComplete/MapComplete
More refactoring, fix loading of personal theme
This commit is contained in:
parent
7a7b34b0fa
commit
b2c234b51d
3 changed files with 27 additions and 32 deletions
1
State.ts
1
State.ts
|
@ -152,7 +152,6 @@ export default class State {
|
|||
this.layoutToUse.data.defaultBackgroundId ?? AvailableBaseLayers.osmCarto.id,
|
||||
"The id of the background layer to start with")
|
||||
.map((selectedId: string) => {
|
||||
console.log("SELECTED ID", selectedId)
|
||||
const available = self.availableBackgroundLayers.data;
|
||||
for (const layer of available) {
|
||||
if (layer.id === selectedId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue