render detail status section for metadata or metrics

This commit is contained in:
Paul Bellamy
2016-01-18 15:18:49 +00:00
committed by Simon Howe
parent cb9d558665
commit bf13a824d4

View File

@@ -127,7 +127,7 @@ export default class NodeDetails extends React.Component {
renderDetails() {
const details = this.props.details;
const showSummary = details.metadata !== undefined && details.metrics !== undefined;
const showSummary = details.metadata !== undefined || details.metrics !== undefined;
const showControls = details.controls && details.controls.length > 0;
const nodeColor = getNodeColorDark(details.rank, details.label_major);
const {error, pending} = (this.props.controlStatus || {});