Mark WilkensXL build versions
Some checks failed
Container Image / build-and-push (push) Has been cancelled
Some checks failed
Container Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -305,7 +305,11 @@
|
||||
const vr = await fetch('/api/version');
|
||||
if (vr.ok) {
|
||||
const vd = await vr.json();
|
||||
document.getElementById('version-label').textContent = 'v' + vd.version;
|
||||
const version = vd.full_version || vd.build_version || vd.version;
|
||||
const upstream = vd.upstream_version && vd.upstream_version !== version
|
||||
? ' (upstream ' + vd.upstream_version + ')'
|
||||
: '';
|
||||
document.getElementById('version-label').textContent = version ? 'v' + version + upstream : '';
|
||||
}
|
||||
} catch(e) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user