1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix release on upgrade, header and status page

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-30 21:01:54 +02:00
parent 58c4f6cb28
commit d7c59fffae
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ function set_status(type, message, loading, show_log) {
function upgrade_check() {
var current_version = data.release.version.toLowerCase();
var current_branch = current_version.split('.').slice(0, 2).join('.')
var current_branch = current_version.split('-')[0].split('.').slice(0, 2).join('.')
var candidates = []
hide("#status_box");
hide("#server_div");