From 531faa9958e3d6d467203f97dde4c628cfb18cc3 Mon Sep 17 00:00:00 2001 From: Doruk Date: Sat, 14 Jun 2025 02:45:53 +0200 Subject: [PATCH] fix linting --- src/components/HeartbeatBar.vue | 3 +-- src/pages/StatusPage.vue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/HeartbeatBar.vue b/src/components/HeartbeatBar.vue index 927ac166e..4f15b124d 100644 --- a/src/components/HeartbeatBar.vue +++ b/src/components/HeartbeatBar.vue @@ -156,7 +156,6 @@ export default { // Create time buckets from oldest to newest const startTime = now.subtract(totalHours, "hours"); - for (let i = 0; i < totalBuckets; i++) { let bucketStart; let bucketEnd; @@ -274,7 +273,7 @@ export default { "margin-left": "0px", }; } - + // Original logic for auto mode return { "margin-left": this.numPadding * (this.beatWidth + this.beatHoverAreaPadding * 2) + "px", diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index eda54fba0..b31356e48 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -722,7 +722,7 @@ export default { Promise.all([ this.getData(), this.editMode ? Promise.resolve() : this.loadHeartbeatData() - ]).then(([configRes]) => { + ]).then(([ configRes ]) => { this.config = configRes.data.config; if (!this.config.domainNameList) {