forked from MapComplete/MapComplete
More small fixes to the refactoring
This commit is contained in:
parent
8ad9b816ac
commit
eec762b71f
7 changed files with 21 additions and 13 deletions
|
@ -43,7 +43,7 @@ export default class LayerSelection extends Combine {
|
|||
|
||||
const zoomStatus = new VariableUiElement(State.state.locationControl.map(location => {
|
||||
if (location.zoom < layer.layerDef.minzoom) {
|
||||
return Translations.t.general.layerSelection.zoomInToSeeThisLayer
|
||||
return Translations.t.general.layerSelection.zoomInToSeeThisLayer.Clone()
|
||||
.SetClass("alert")
|
||||
.SetStyle("display: block ruby;width:min-content;")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue