From bbbd995b22938a0512aa7bd554d2869a45722761 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 6 Jun 2026 14:50:49 +0200 Subject: [PATCH] Harmonize sector names --- apps/api/src/helper/sector.helper.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/api/src/helper/sector.helper.ts b/apps/api/src/helper/sector.helper.ts index 70f4686e4..e0face386 100644 --- a/apps/api/src/helper/sector.helper.ts +++ b/apps/api/src/helper/sector.helper.ts @@ -10,10 +10,8 @@ export function getSectorName({ aliases?: Record; name: string; }): SectorName { - const mappedName = aliases[name]; - - if (mappedName) { - return mappedName; + if (aliases[name]) { + return aliases[name]; } if ((SECTORS as readonly string[]).includes(name)) {