bug fix
This commit is contained in:
parent
2e77124d9e
commit
db7a33f73b
|
@ -82,7 +82,7 @@ export class SensorList extends React.Component<SensorListProps, SensorListState
|
||||||
console.log(event);
|
console.log(event);
|
||||||
}
|
}
|
||||||
public handleAddSensor(): void {
|
public handleAddSensor(): void {
|
||||||
this.props.onAddSensor(this.props.infraId ? this.props.infraId : '');
|
this.props.onAddSensor(this.props.infraId ? String(this.props.infraId) : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user