diff --git a/UI/BigComponents/LayerSelection.ts b/UI/BigComponents/LayerSelection.ts index fe55f1c..0b75a3a 100644 --- a/UI/BigComponents/LayerSelection.ts +++ b/UI/BigComponents/LayerSelection.ts @@ -50,7 +50,7 @@ export default class LayerSelection extends UIElement { const name = Translations.WT(layer.layerDef.name)?.Clone() ?.SetStyle("font-size:large;margin-left: 0.5em;"); - if(name === undefined){ + if((name ?? "") === ""){ continue }