mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-27 19:50:11 +00:00
format task description: avoid printing undefined ID
fixes and regression for backup jobs which seems to get from empty string to undefined ID in PVE 6.x - whyever... Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2d10a5977c
commit
0545f1edb8
2
Utils.js
2
Utils.js
@ -646,7 +646,7 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
}
|
}
|
||||||
let prefix = farray[0];
|
let prefix = farray[0];
|
||||||
text = farray[1];
|
text = farray[1];
|
||||||
if (prefix) {
|
if (prefix && id !== undefined) {
|
||||||
return prefix + ' ' + id + ' - ' + text;
|
return prefix + ' ' + id + ' - ' + text;
|
||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
|
Loading…
Reference in New Issue
Block a user