From 61286021bd2068a51cc6549248e03fb537dd2270 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 22 Apr 2021 03:43:26 +0200 Subject: [PATCH] Fixed broken index page --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 1bb2a9866..9dc41de84 100644 --- a/index.ts +++ b/index.ts @@ -68,7 +68,7 @@ let layoutToUse: LayoutConfig = AllKnownLayouts.allKnownLayouts.get(defaultLayou // WOrkaround/legacy -if(layoutToUse.id === "cyclofix"){ +if(layoutToUse?.id === "cyclofix"){ QueryParameters.GetQueryParameter("layer-bike_shops", "true", "Legacy - keep De Fietsambassade working").syncWith( QueryParameters.GetQueryParameter("layer-bike_shop","true","Legacy - keep De Fietsambassade working") )