Fix build
This commit is contained in:
parent
e530eba55a
commit
e5a24ff499
1 changed files with 1 additions and 1 deletions
2
index.ts
2
index.ts
|
@ -63,7 +63,7 @@ if (path !== "index.html" && path !== "") {
|
|||
defaultLayout = QueryParameters.GetQueryParameter("layout", defaultLayout, "The layout to load into MapComplete").data;
|
||||
let layoutToUse: LayoutConfig = AllKnownLayouts.allKnownLayouts.get(defaultLayout.toLowerCase());
|
||||
|
||||
if(layoutToUse.id === "natuurpunt"){
|
||||
if(layoutToUse?.id === "natuurpunt"){
|
||||
localStorage.clear()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue