From eba0f7419bfadffa3f50f4e4513fa55fc1443a5d Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 11 Aug 2017 18:08:02 +0900 Subject: [PATCH] infrachild ing --- src/ts/@overflow/infra/react/InfraDetail.tsx | 1 + src/ts/@overflow/infra/react/components/InfraDetail.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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);