diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b7340aa..5159c931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Modified JWT token key to be sha256 of API Secret - Modified github actions to build multi-arch Docker images - Added "update" command to install latest version +- Fixed dashboard uptime_data API request to request correct start/time timestamp # 0.90.58 (07-09-2020) - Fixed ICMP latency/ping durations diff --git a/frontend/src/components/Dashboard/ServiceInfo.vue b/frontend/src/components/Dashboard/ServiceInfo.vue index ed49bd68..7f2aa41d 100644 --- a/frontend/src/components/Dashboard/ServiceInfo.vue +++ b/frontend/src/components/Dashboard/ServiceInfo.vue @@ -147,7 +147,8 @@ } }, async getUptime() { - this.uptime = await Api.service_uptime(this.service.id) + const start = this.nowSubtract(3 * 86400) + this.uptime = await Api.service_uptime(this.service.id, this.toUnix(start), this.toUnix(this.now())) }, async loadInfo() { this.set1 = await this.getHits(24 * 7, "6h")