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:
parent
eb21f639f2
commit
c7cf3b424a
@ -16,7 +16,7 @@ Ext.define('PBS.view.main.VersionInfo', {
|
||||
tpl: [
|
||||
'Backup Server',
|
||||
'<tpl if="version">',
|
||||
' {version}-{release}',
|
||||
' {version}.{release}',
|
||||
'</tpl>',
|
||||
],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user