From 68a450672e77520d3b9ae60424289a5914898858 Mon Sep 17 00:00:00 2001 From: krateng Date: Sat, 1 Jan 2022 06:59:36 +0100 Subject: [PATCH] Fixed version display in backend --- maloja/web/jinja/admin_overview.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maloja/web/jinja/admin_overview.jinja b/maloja/web/jinja/admin_overview.jinja index 563dc2a..1c129cf 100644 --- a/maloja/web/jinja/admin_overview.jinja +++ b/maloja/web/jinja/admin_overview.jinja @@ -22,7 +22,7 @@ neo.xhttprequest("/apis/mlj_1/serverinfo",{},"GET",json=true).then((response)=>{ result = JSON.parse(response.responseText); - thisvers = result.version.split("."); + thisvers = result.version; document.getElementById("latestversion").innerHTML = latestvers.join("."); document.getElementById("currentversion").innerHTML = thisvers.join(".");