Skip to content

Commit

Permalink
fix #removed the delete button in layer properties with flag
Browse files Browse the repository at this point in the history
  • Loading branch information
saidaipparla committed Oct 24, 2016
1 parent 5e80383 commit 63e8053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/client/components/TOC/DefaultLayer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ var DefaultLayer = React.createClass({
modalOptions: React.PropTypes.object,
settingsOptions: React.PropTypes.object,
visibilityCheckType: React.PropTypes.string,
includeDeleteButtonInSettings: React.PropTypes.bool,
groups: React.PropTypes.array
},
getDefaultProps() {
Expand All @@ -54,6 +55,7 @@ var DefaultLayer = React.createClass({
activateRemoveLayer: false,
activateLegendTool: false,
activateSettingsTool: false,
includeDeleteButtonInSettings: false,
modalOptions: {},
settingsOptions: {},
confirmDeleteText: <Message msgId="layerProperties.confirmDelete" />,
Expand Down Expand Up @@ -98,6 +100,7 @@ var DefaultLayer = React.createClass({
updateSettings={this.props.updateSettings}
updateNode={this.props.updateNode}
removeNode={this.props.removeNode}
includeDeleteButton={this.props.includeDeleteButtonInSettings}
titleText={this.props.settingsText}
opacityText={this.props.opacityText}
saveText={this.props.saveText}
Expand Down

0 comments on commit 63e8053

Please sign in to comment.