Do not display response times for ping checks

This commit is contained in:
Axel 2021-12-28 09:27:57 +01:00
parent d57cee575b
commit a704c5bea3
2 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -189,7 +189,11 @@
this.first_day = new Date(response.data.first_day).getTime();
this.notifications = response.data.notifications
this.refreshUptimeGraph(response.data.stats.uptime)
if (this.task.type == 'http') {
this.refreshResponseTimeGraph(response.data.stats.times)
}
this.loader.hide()
})
.then(() => {