infrachild ing
This commit is contained in:
parent
8dd3cc62f9
commit
eba0f7419b
|
@ -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,
|
||||
|
|
|
@ -55,7 +55,6 @@ export class InfraDetail extends React.Component<Props, State> {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user