From 1f0ff2c9fbc95bbfaa769dd64295c723c01e1c95 Mon Sep 17 00:00:00 2001 From: "john.schaap@kadaster.nl" Date: Thu, 29 Aug 2024 12:46:51 +0200 Subject: [PATCH] url updated --- .../src/app/enumVisualisatie.ts | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/projects/vectortile-demo/src/app/enumVisualisatie.ts b/projects/vectortile-demo/src/app/enumVisualisatie.ts index 25f938a..d83bbd3 100644 --- a/projects/vectortile-demo/src/app/enumVisualisatie.ts +++ b/projects/vectortile-demo/src/app/enumVisualisatie.ts @@ -90,25 +90,10 @@ export function exhaustiveGuard(_value: never): never { export function getAllVisualisaties(): Visualisatie[] { const array: Visualisatie[] = [] - if (demoSettings.previewFeature) + for (const value of enumKeys(Visualisatie)) { array.push(Visualisatie[value]) - } - else - for (const value of enumKeys(Visualisatie)) { - if ( - [ - 'Top10nlBlanco', - 'Top10nlKleurrijk', - 'Top10nlStandaard', - 'Top10nlTegels' - ].includes(value) - ) { - //skip - } else { - array.push(Visualisatie[value]) - } - } + } return array }