From f0426f5225a34bf516acc0c470b96d39b61b18ff Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 29 Jul 2024 13:07:00 +0200 Subject: [PATCH] Fix --- src/components/ServerStatus.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ServerStatus.svelte b/src/components/ServerStatus.svelte index 230a424..fcbe3da 100644 --- a/src/components/ServerStatus.svelte +++ b/src/components/ServerStatus.svelte @@ -22,8 +22,7 @@ import {server} from "./stores/stores.ts"; function generateVersionString(version: string): string { - let versions = version.split(" ").slice(1) - return `${versions[0].replace(",", "")} - ${versions[versions.length - 1]}` + return version.split(" ")[1] }