Do not show layer selection if the layer name is undefined or empty string
This commit is contained in:
parent
8cc061c68f
commit
475cdae19f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export default class LayerSelection extends UIElement {
|
||||||
const name = Translations.WT(layer.layerDef.name)?.Clone()
|
const name = Translations.WT(layer.layerDef.name)?.Clone()
|
||||||
?.SetStyle("font-size:large;margin-left: 0.5em;");
|
?.SetStyle("font-size:large;margin-left: 0.5em;");
|
||||||
|
|
||||||
if(name === undefined){
|
if((name ?? "") === ""){
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue