1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed version display in backend

This commit is contained in:
krateng 2022-01-01 06:59:36 +01:00
parent ccbb3d3a80
commit 68a450672e

View File

@ -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(".");