From 0d550c336041b18ec57fda18962c24af381459e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Zbytovsk=C3=BD?= Date: Sun, 12 Nov 2023 11:46:05 +0100 Subject: [PATCH] fix tests --- src/services/tagging/idTaggingScheme.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/services/tagging/idTaggingScheme.ts b/src/services/tagging/idTaggingScheme.ts index 481aaf4a3..c44878c44 100644 --- a/src/services/tagging/idTaggingScheme.ts +++ b/src/services/tagging/idTaggingScheme.ts @@ -27,11 +27,11 @@ const getUiField = ( feature: Feature, key: string, ): UiField => { - // TODO this should be removed now the parsing works ok - // if (field.type === 'typeCombo') { - // keysTodo.remove(field.key); // ignores eg. railway=tram_stop on public_transport=stop_position - // return undefined; - // } + // TODO this should be removed now the parsing works ok (+run tests) + if (field.type === 'typeCombo') { + keysTodo.remove(field.key); // ignores eg. railway=tram_stop on public_transport=stop_position + return undefined; + } const value = feature.tags[key];