Skip to content

Commit

Permalink
fix for setting icon in toc layer
Browse files Browse the repository at this point in the history
  • Loading branch information
saidaipparla committed Nov 2, 2016
1 parent 5dbb0a7 commit 0effe65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/client/components/TOC/fragments/settings/Display.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = React.createClass({
<Label key="opacity-percent" >{Math.round(this.props.settings.options.opacity * 100) + "%"}</Label>
</div>
{this.props.element.type === "wms" ?
[(<div><input type="checkbox" key="transparent" checked={this.props.element && (this.props.element.transparent === undefined ? true : this.props.element.transparent)}
[(<div key="transparent-check"><input type="checkbox" key="transparent" checked={this.props.element && (this.props.element.transparent === undefined ? true : this.props.element.transparent)}
onChange={(event) => {this.props.onChange("transparent", event.target.checked); }}/>
<label key="transparent-label" className="control-label">Transparent</label></div>)] : null}
</div>);
Expand Down
2 changes: 1 addition & 1 deletion web/client/plugins/CreateNewMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ const CreateNewMap = React.createClass({
module.exports = {
CreateNewMapPlugin: connect((state) => ({
mapType: (state.maps && state.maps.mapType) || (state.home && state.home.mapType),
isLoggedIn: state && state.security && state.security.user && state.security.user.enabled
isLoggedIn: state && state.security && state.security.user && state.security.user.enabled && true || false
}))(CreateNewMap)
};

0 comments on commit 0effe65

Please sign in to comment.