mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-29 06:20:29 +01:00
Changed toggle visibility text from hide to show/hide
This commit is contained in:
parent
019428a241
commit
f5e8d473ad
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ export default class LayerEditor extends React.Component {
|
|||
handler: () => this.props.onLayerCopy(this.props.layer.id)
|
||||
},
|
||||
hide: {
|
||||
text: "Hide",
|
||||
text: (this.props.layer.layout.visibility === "visible") ? "Hide" : "Show",
|
||||
handler: () => this.props.onLayerVisibilityToggle(this.props.layer.id)
|
||||
},
|
||||
moveLayerUp: {
|
||||
|
|
Loading…
Reference in a new issue