|
|
@ -10,10 +10,8 @@ export function getSectorName({ |
|
|
aliases?: Record<string, SectorName>; |
|
|
aliases?: Record<string, SectorName>; |
|
|
name: string; |
|
|
name: string; |
|
|
}): SectorName { |
|
|
}): SectorName { |
|
|
const mappedName = aliases[name]; |
|
|
if (aliases[name]) { |
|
|
|
|
|
return aliases[name]; |
|
|
if (mappedName) { |
|
|
|
|
|
return mappedName; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ((SECTORS as readonly string[]).includes(name)) { |
|
|
if ((SECTORS as readonly string[]).includes(name)) { |
|
|
|