5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-03 01:18:02 +03:00

ui: version info: replace hyphen separator with dot

Our package uses <x>.<y>.<z>-<rev> as version format, here we get
version=<x>.<y> and release=<z>, so we rendered the version like
<x>.<y>-<z>, which is rather wrong.

And while the return value of the API call might be a bit odd and
should probably change (or at least add a full version property), but
for now it's what it is, so at least render it correctly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-11-27 20:31:51 +01:00
parent eb21f639f2
commit c7cf3b424a

View File

@ -16,7 +16,7 @@ Ext.define('PBS.view.main.VersionInfo', {
tpl: [
'Backup Server',
'<tpl if="version">',
' {version}-{release}',
' {version}.{release}',
'</tpl>',
],