From f0152876758792eed15e2c994c52c2f433331131 Mon Sep 17 00:00:00 2001 From: saidaipparla Date: Wed, 12 Oct 2016 13:48:44 +0200 Subject: [PATCH] fix #1109 Moved the visibility icon to correct place --- web/client/components/TOC/DefaultLayer.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/client/components/TOC/DefaultLayer.jsx b/web/client/components/TOC/DefaultLayer.jsx index 191b27da84..c0ff7b691a 100644 --- a/web/client/components/TOC/DefaultLayer.jsx +++ b/web/client/components/TOC/DefaultLayer.jsx @@ -87,6 +87,14 @@ var DefaultLayer = React.createClass({ ); } } + if (this.props.visibilityCheckType) { + tools.push( + + ); + } if (this.props.activateLegendTool) { tools.push( - <InlineSpinner loading={this.props.node.loading}/> <LayersTool key="loadingerror"