diff --git a/src/ts/@overflow/infra/react/InfraDetail.tsx b/src/ts/@overflow/infra/react/InfraDetail.tsx index eca5de9..2a88bdb 100644 --- a/src/ts/@overflow/infra/react/InfraDetail.tsx +++ b/src/ts/@overflow/infra/react/InfraDetail.tsx @@ -11,6 +11,7 @@ import * as asyncRequestActions from '@overflow/commons/redux/action/asyncReques export function mapStateToProps(state: any, props: any): InfraDetailStateProps { return { + infra: props.infra, machine: state.machine, host: state.host, os: state.os, diff --git a/src/ts/@overflow/infra/react/components/InfraDetail.tsx b/src/ts/@overflow/infra/react/components/InfraDetail.tsx index 2e7688f..07b6289 100644 --- a/src/ts/@overflow/infra/react/components/InfraDetail.tsx +++ b/src/ts/@overflow/infra/react/components/InfraDetail.tsx @@ -55,7 +55,6 @@ export class InfraDetail extends React.Component { public componentWillMount(): void { let infraType = this.props.infra.infraType.id; let id = String(this.props.infra.childId); - console.log('**** componentWillMount', infraType); switch (infraType) { case 1: { this.props.onReadInfraMachine(id);