This commit is contained in:
snoop 2017-08-25 13:11:02 +09:00
parent 2e77124d9e
commit db7a33f73b

View File

@ -82,7 +82,7 @@ export class SensorList extends React.Component<SensorListProps, SensorListState
console.log(event);
}
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 {