This commit is contained in:
dzannotti 2015-08-10 23:46:59 +01:00
parent 6677e375b4
commit 98d5ed3706

View File

@ -27,7 +27,7 @@ export default class LogMonitorAction extends React.Component {
...styles.payload, ...styles.payload,
backgroundColor: this.props.theme.base01 backgroundColor: this.props.theme.base01
}}> }}>
{ Object.keys(payload).length > 0 ? <JSONTree theme={this.props.theme} keyName={'payload'} data={payload}/> : '' } { Object.keys(payload).length > 0 ? <JSONTree theme={this.props.theme} keyName={'action'} data={payload}/> : '' }
</div> </div>
); );
} }