Added healthchecks.io int

This commit is contained in:
Henry Whitaker
2020-08-12 14:07:47 +01:00
parent 33169be746
commit f32fcf8256
11 changed files with 194 additions and 116 deletions

View File

@@ -205,7 +205,6 @@ export default class HistoryGraph extends Component {
failData.datasets[1].data.push(fail);
failData.labels.push(new Date(e.date).toLocaleString([], {year: '2-digit', month:'2-digit', day:'2-digit'}));
})
console.log(failData);
this.setState({
failData: failData,

View File

@@ -158,6 +158,18 @@ export default class Settings extends Component {
}
]} />
</Col>
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
<SettingWithModal title="healthchecks.io settings" description="Control settings for healthchecks.io" autoClose={false} settings={[
{
obj: e.healthchecks_uuid,
type: 'text'
},
{
obj: e.healthchecks_enabled,
type: 'checkbox'
}
]} />
</Col>
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
<ResetSettings />
</Col>