Skip to content

Commit

Permalink
Cleanup key error
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Aug 1, 2018
1 parent 9841b57 commit 0d10ba5
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions src/core_plugins/status_page/public/components/status_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,32 @@ class StatusApp extends Component {
// Extract the items needed to render each component
const { metrics, statuses, serverState, name } = data;

return [
<ServerStatus
name={name}
serverState={serverState}
/>,
<EuiSpacer />,
<MetricTiles metrics={metrics} />,
<EuiSpacer />,
<EuiText>
<h2>Status Breakdown</h2>
</EuiText>,
<StatusTable statuses={statuses} />,
<EuiSpacer />,
<EuiText textAlign="right">
Build { buildNum }, Commit SHA { buildSha }
</EuiText>
];
return (
<div>
<ServerStatus
name={name}
serverState={serverState}
/>

<EuiSpacer />

<MetricTiles metrics={metrics} />

<EuiSpacer />

<EuiText>
<h2>Status Breakdown</h2>
</EuiText>

<StatusTable statuses={statuses} />

<EuiSpacer />

<EuiText textAlign="right">
Build { buildNum }, Commit SHA { buildSha }
</EuiText>
</div>
);
}
}

Expand Down

0 comments on commit 0d10ba5

Please sign in to comment.