fix bug with home.ts

This commit is contained in:
MathMan05 2024-08-29 20:58:50 -05:00
parent f2480130c1
commit 14fe4308af
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ fetch("/instances.json").then(_ => _.json()).then((json) => {
}
statbox.append(textbox);
}
{
if (instance.uptime) {
const stats = document.createElement("div");
stats.classList.add("flexltr");
const span = document.createElement("span");

View file

@ -43,7 +43,7 @@ fetch("/instances.json").then(_=>_.json()).then((json:{name:string,description?:
}
statbox.append(textbox)
}
{
if(instance.uptime){
const stats=document.createElement("div");
stats.classList.add("flexltr");
const span=document.createElement("span");