mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 18:56:48 +02:00
fix linting
This commit is contained in:
parent
c0f09d9273
commit
531faa9958
2 changed files with 2 additions and 3 deletions
|
@ -156,7 +156,6 @@ export default {
|
||||||
|
|
||||||
// Create time buckets from oldest to newest
|
// Create time buckets from oldest to newest
|
||||||
const startTime = now.subtract(totalHours, "hours");
|
const startTime = now.subtract(totalHours, "hours");
|
||||||
|
|
||||||
for (let i = 0; i < totalBuckets; i++) {
|
for (let i = 0; i < totalBuckets; i++) {
|
||||||
let bucketStart;
|
let bucketStart;
|
||||||
let bucketEnd;
|
let bucketEnd;
|
||||||
|
@ -274,7 +273,7 @@ export default {
|
||||||
"margin-left": "0px",
|
"margin-left": "0px",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Original logic for auto mode
|
// Original logic for auto mode
|
||||||
return {
|
return {
|
||||||
"margin-left": this.numPadding * (this.beatWidth + this.beatHoverAreaPadding * 2) + "px",
|
"margin-left": this.numPadding * (this.beatWidth + this.beatHoverAreaPadding * 2) + "px",
|
||||||
|
|
|
@ -722,7 +722,7 @@ export default {
|
||||||
Promise.all([
|
Promise.all([
|
||||||
this.getData(),
|
this.getData(),
|
||||||
this.editMode ? Promise.resolve() : this.loadHeartbeatData()
|
this.editMode ? Promise.resolve() : this.loadHeartbeatData()
|
||||||
]).then(([configRes]) => {
|
]).then(([ configRes ]) => {
|
||||||
this.config = configRes.data.config;
|
this.config = configRes.data.config;
|
||||||
|
|
||||||
if (!this.config.domainNameList) {
|
if (!this.config.domainNameList) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue