diff --git a/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx b/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx index d13b272..58aaf2f 100644 --- a/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx +++ b/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx @@ -34,10 +34,6 @@ class SensorDetailLayout extends React.Component { 'name': 'Items', 'path': '/items', }, - { - 'name': 'Setup', - 'path': '/setup', - }, { 'name': 'History', 'path': '/history', @@ -55,9 +51,6 @@ class SensorDetailLayout extends React.Component { - {/**/} - - diff --git a/src/ts/@overflow/sensor/react/components/SensorConfigTargetSelect.tsx b/src/ts/@overflow/sensor/react/components/SensorConfigTargetSelect.tsx index 3cfabf7..24b56e5 100644 --- a/src/ts/@overflow/sensor/react/components/SensorConfigTargetSelect.tsx +++ b/src/ts/@overflow/sensor/react/components/SensorConfigTargetSelect.tsx @@ -105,11 +105,11 @@ export class SensorConfigTargetSelect extends React.Component { selectionOptions.push(this.createOption(this.props.infra)); this.selectOptions = selectionOptions; - let sd = this.props.getSensor(); + // let sd = this.props.getSensor(); // sd.targetId = this.props.infra.target.id; // sd.type = this.props.infra.infraType.name; - sd.infra = this.props.infra; - this.props.setSensor(sd); + // sd.infra = this.props.infra; + // this.props.setSensor(sd); } public createOption(infra: Infra): DropdownItemProps { @@ -148,7 +148,8 @@ export class SensorConfigTargetSelect extends React.Component { } return (); }