From 9e2bc2d8638ba8f1d7be62b35b5c6dbd77cd7bcf Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 11 Jul 2024 20:07:46 -0400 Subject: [PATCH] Use if/else statement --- src/components/InstanceList.astro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/InstanceList.astro b/src/components/InstanceList.astro index a4c19e1..d7f4cf5 100644 --- a/src/components/InstanceList.astro +++ b/src/components/InstanceList.astro @@ -8,16 +8,16 @@ const InstanceList = await fetch('https://codeberg.org/MinPluto/MinPluto/raw/bra URL Official Region - Cloudflare + Uses Cloudflare {InstanceList.map((server) => {server[1].uri} - {server[1].official} + {server[1].official ?

Yes

:

No

} {server[1].region} - {server[1].CLOUDFLARE} + {server[1].CLOUDFLARE ?

Yes

:

No

} )} @@ -28,7 +28,7 @@ table { border: 1px solid #3d3846; height: 100%; width: 100%; - table-layout: fixed; + table-layout: auto; border-collapse: collapse; border-spacing: 1px; text-align: left;