fix bug with home.ts
This commit is contained in:
@@ -40,7 +40,7 @@ fetch("/instances.json").then(_ => _.json()).then((json) => {
|
|||||||
}
|
}
|
||||||
statbox.append(textbox);
|
statbox.append(textbox);
|
||||||
}
|
}
|
||||||
{
|
if (instance.uptime) {
|
||||||
const stats = document.createElement("div");
|
const stats = document.createElement("div");
|
||||||
stats.classList.add("flexltr");
|
stats.classList.add("flexltr");
|
||||||
const span = document.createElement("span");
|
const span = document.createElement("span");
|
||||||
|
@@ -43,7 +43,7 @@ fetch("/instances.json").then(_=>_.json()).then((json:{name:string,description?:
|
|||||||
}
|
}
|
||||||
statbox.append(textbox)
|
statbox.append(textbox)
|
||||||
}
|
}
|
||||||
{
|
if(instance.uptime){
|
||||||
const stats=document.createElement("div");
|
const stats=document.createElement("div");
|
||||||
stats.classList.add("flexltr");
|
stats.classList.add("flexltr");
|
||||||
const span=document.createElement("span");
|
const span=document.createElement("span");
|
||||||
|
Reference in New Issue
Block a user