diff --git a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx index 64b490e..20e21fd 100644 --- a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx +++ b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx @@ -253,7 +253,7 @@ export class CrawlerSelector extends React.Component { +export class Targets extends React.Component { constructor(props: any, context: any) { super(props, context); @@ -65,8 +66,16 @@ export class Targets extends React.Component { } } +export interface TargetTableProps { -export class TargetTable extends React.Component { +} + +export interface TargetTableState { + list: Array; + selected: object; +} + +export class TargetTable extends React.Component { private data: any; constructor(props: any, context: any) { @@ -112,10 +121,10 @@ export class TargetTable extends React.Component { - {this.state.list.map((target: any, index: number) => ( + {this.state.list.map((target: Target, index: number) => ( {index + 1} - {target.infra.metaInfraType.name} + {target.infra.type.name} todo todo